+ (ApplicationSetup.BLOCK_INDEXING ? "(with blocks)" : "")
+ "...");
final long beginTimestamp = System.currentTimeMillis();
BasicSinglePassIndexer _indexer;
if (ApplicationSetup.BLOCK_INDEXING)
_indexer = new BlockSinglePassIndexer(ApplicationSetup.TERRIER_INDEX_PATH, ApplicationSetup.TERRIER_INDEX_PREFIX);
else
_indexer = new BasicSinglePassIndexer(ApplicationSetup.TERRIER_INDEX_PATH, ApplicationSetup.TERRIER_INDEX_PREFIX);
_indexer.index(new Collection[] {collectionTREC});
long endTimestamp = System.currentTimeMillis();
System.err.println("Finished building the inverted index...");