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