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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected TermSuggestion
emptySuggestion(String name, org.elasticsearch.search.suggest.term.TermSuggestionContext suggestion, org.apache.lucene.util.CharsRefBuilder spare)
innerExecute(String name, org.elasticsearch.search.suggest.term.TermSuggestionContext suggestion, org.apache.lucene.search.IndexSearcher searcher, org.apache.lucene.util.CharsRefBuilder spare)
-
Field Details
-
INSTANCE
-
-
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 classSuggester<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 classSuggester<org.elasticsearch.search.suggest.term.TermSuggestionContext>
- Throws:
IOException
-