Class CompletionSuggester
java.lang.Object
org.elasticsearch.search.suggest.Suggester<CompletionSuggestionContext>
org.elasticsearch.search.suggest.completion.CompletionSuggester
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected CompletionSuggestion
emptySuggestion(String name, CompletionSuggestionContext suggestion, org.apache.lucene.util.CharsRefBuilder spare)
protected Suggest.Suggestion<? extends Suggest.Suggestion.Entry<? extends Suggest.Suggestion.Entry.Option>>
innerExecute(String name, CompletionSuggestionContext suggestionContext, org.apache.lucene.search.IndexSearcher searcher, org.apache.lucene.util.CharsRefBuilder spare)
-
Field Details
-
INSTANCE
-
-
Method Details
-
innerExecute
protected Suggest.Suggestion<? extends Suggest.Suggestion.Entry<? extends Suggest.Suggestion.Entry.Option>> innerExecute(String name, CompletionSuggestionContext suggestionContext, org.apache.lucene.search.IndexSearcher searcher, org.apache.lucene.util.CharsRefBuilder spare) throws IOException- Specified by:
innerExecute
in classSuggester<CompletionSuggestionContext>
- Throws:
IOException
-
emptySuggestion
protected CompletionSuggestion emptySuggestion(String name, CompletionSuggestionContext suggestion, org.apache.lucene.util.CharsRefBuilder spare) throws IOException- Specified by:
emptySuggestion
in classSuggester<CompletionSuggestionContext>
- Throws:
IOException
-