// Get CF and DF counts
startTime = System.currentTimeMillis();
LOG.info("Counting terms...");
GetTermCount termCountWithDfAndCfTool = new GetTermCount(conf);
termCountWithDfAndCfTool.run();
LOG.info("TermCount = "+env.readCollectionTermCount()+"\nJob finished in "+(System.currentTimeMillis()-startTime)/1000.0+" seconds");
// Build a map from terms to sequentially generated integer term ids
startTime = System.currentTimeMillis();
conf.setInt("Ivory.TermIndexWindow", TermIndexWindow);
LOG.info("Building term-to-integer id mapping...");