startTime = System.currentTimeMillis();
LOG.info("Building weighted integer doc vectors...");
conf.setBoolean("Ivory.Normalize", IsNormalized);
if (mode == MONO_LINGUAL) {
exitCode = new BuildIntDocVectors(conf).run();
exitCode = new BuildWeightedIntDocVectors(conf).run();
if (exitCode >= 0) {
LOG.info("Job BuildWeightedIntDocVectors finished in "+(System.currentTimeMillis() - startTime) / 1000.0 + " seconds");
}else {
LOG.info("Error: BuildWeightedIntDocVectors. Terminating...");
return -1;