conf.setInt(Constants.MinDf, 2); // toss away singleton terms
conf.setInt(Constants.MaxDf, Integer.MAX_VALUE);
conf.setInt(Constants.TermIndexWindow, 8);
conf.set(Constants.InputFormat, TrecDocumentInputFormat.class.getCanonicalName());
new BuildTermDocVectors(conf).run();
new ComputeGlobalTermStatistics(conf).run();
new BuildDictionary(conf).run();
new BuildIntDocVectors(conf).run();
new BuildIntDocVectorsForwardIndex(conf).run();