lexiconBuilder = FieldScore.FIELDS_COUNT > 0
? new LexiconBuilder(currentIndex, "lexicon", new FieldLexiconMap(FieldScore.FIELDS_COUNT), FieldLexiconEntry.class.getName())
: new LexiconBuilder(currentIndex, "lexicon", new LexiconMap(), BasicLexiconEntry.class.getName());
try{
directIndexBuilder = FieldScore.FIELDS_COUNT > 0
? new FieldDirectInvertedOutputStream(currentIndex.getPath() + ApplicationSetup.FILE_SEPARATOR + currentIndex.getPrefix() + "." + "direct" + BitIn.USUAL_EXTENSION)
: new DirectInvertedOutputStream(currentIndex.getPath() + ApplicationSetup.FILE_SEPARATOR + currentIndex.getPrefix() + "." + "direct" + BitIn.USUAL_EXTENSION);
} catch (IOException ioe) {
// logger.error("Cannot make DirectInvertedOutputStream:", ioe);
}
// new DirectIndexBuilder(currentIndex, "direct");