org.apache.lucene.search.suggest.analyzing

Class BlendedInfixSuggester

  • All Implemented Interfaces:
    Closeable, AutoCloseable, Accountable


    public class BlendedInfixSuggester
    extends AnalyzingInfixSuggester
    Extension of the AnalyzingInfixSuggester which transforms the weight after search to take into account the position of the searched term into the indexed text. Please note that it increases the number of elements searched and applies the ponderation after. It might be costly for long suggestions.