if (!fs.exists(mappingFile)) {
LOG.info("docno-mapping.dat doesn't exist, creating...");
String[] arr = new String[] { collection, mappingDir.toString(),
mappingFile.toString() };
NumberTrecDocuments2 tool = new NumberTrecDocuments2();
tool.setConf(conf);
tool.run(arr);
fs.delete(mappingDir, true);
}
conf.set(Constants.CollectionName, "TREC_vol45");