p = dios.writePostings(new ArrayOfIdsIterablePosting(list));
DocumentIndexEntry die = new BasicDocumentIndexEntry(doclen, p);
dib.addEntryToBuffer(die);
}
dios.close();
dib.finishedCollections();
index.addIndexStructure(
"direct",
"org.terrier.structures.DirectIndex",
"org.terrier.structures.Index,java.lang.String,java.lang.Class",
"index,structureName,"+ BasicIterablePostingDocidOnly.class.getName());