{
metaInput1.hasNext();
DocumentIndexEntry die = docidInput1.next();
DocumentIndexEntry dieNew = (fieldCount > 0) ? die : new SimpleDocumentIndexEntry(die);
docidOutput.addEntryToBuffer(dieNew);
metaBuilder.writeDocumentEntry(metaInput1.next());
}
final Iterator<DocumentIndexEntry> docidInput2 = (Iterator<DocumentIndexEntry>)srcIndex2.getIndexStructureInputStream("document");
final Iterator<String[]> metaInput2 = (Iterator<String[]>)srcIndex2.getIndexStructureInputStream("meta");
//traversing the 2nd set of files, without any change