/** * Returns the end of the term pipeline, which corresponds to * an instance of either BasicIndexer.BasicTermProcessor, or * BasicIndexer.FieldTermProcessor, depending on whether * field information is stored. * @return TermPipeline the end of the term pipeline. */ protected TermPipeline getEndOfPipeline() { if(FieldScore.USE_FIELD_INFORMATION) return new FieldTermProcessor(); return new BasicTermProcessor(); }