TRECDocumentCollection collection = new TRECDocumentCollection(
new String[] { temp.toString(), tempAgain.toString() },
CompositeDocumentFactory
.getFactory(new DocumentFactory[] {
new TRECHeaderDocumentFactory(),
new HtmlDocumentFactory( new String[] { "encoding=ISO-8859-1" } ) } ),
4, // Very small, to induce fragmentation
false);
DocumentIterator iter = collection.iterator();
Document d = null;