Class TermSuggester

java.lang.Object
org.elasticsearch.search.suggest.Suggester<org.elasticsearch.search.suggest.term.TermSuggestionContext>
org.elasticsearch.search.suggest.term.TermSuggester

public final class TermSuggester extends Suggester<org.elasticsearch.search.suggest.term.TermSuggestionContext>
  • Field Details

  • Method Details

    • innerExecute

      public TermSuggestion innerExecute(String name, org.elasticsearch.search.suggest.term.TermSuggestionContext suggestion, org.apache.lucene.search.IndexSearcher searcher, org.apache.lucene.util.CharsRefBuilder spare) throws IOException
      Specified by:
      innerExecute in class Suggester<org.elasticsearch.search.suggest.term.TermSuggestionContext>
      Throws:
      IOException
    • emptySuggestion

      protected TermSuggestion emptySuggestion(String name, org.elasticsearch.search.suggest.term.TermSuggestionContext suggestion, org.apache.lucene.util.CharsRefBuilder spare) throws IOException
      Specified by:
      emptySuggestion in class Suggester<org.elasticsearch.search.suggest.term.TermSuggestionContext>
      Throws:
      IOException