Class AnalyzingInfixSuggester

  • All Implemented Interfaces:
    Closeable, AutoCloseable, Accountable
    Direct Known Subclasses:

    public class AnalyzingInfixSuggester
    extends Lookup
    implements Closeable
    Analyzes the input text and then suggests matches based on prefix matches to any tokens in the indexed text. This also highlights the tokens that match.

    This suggester supports payloads. Matches are sorted only by the suggest weight; it would be nice to support blended score + weight sort in the future. This means this suggester best applies when there is a strong a-priori ranking of all the suggestions.

    This suggester supports contexts, including arbitrary binary terms.