Class CompletionSuggestionContext
java.lang.Object
org.elasticsearch.search.suggest.SuggestionSearchContext.SuggestionContext
org.elasticsearch.search.suggest.completion.CompletionSuggestionContext
public class CompletionSuggestionContext extends SuggestionSearchContext.SuggestionContext
-
Constructor Summary
Constructors Modifier Constructor Description protectedCompletionSuggestionContext(QueryShardContext shardContext) -
Method Summary
Modifier and Type Method Description FuzzyOptionsgetFuzzyOptions()java.util.Map<java.lang.String,java.util.List<ContextMapping.InternalQueryContext>>getQueryContexts()RegexOptionsgetRegexOptions()booleanisSkipDuplicates()Methods inherited from class org.elasticsearch.search.suggest.SuggestionSearchContext.SuggestionContext
getAnalyzer, getField, getPrefix, getRegex, getShardContext, getShardSize, getSize, getSuggester, getText, setAnalyzer, setField, setPrefix, setRegex, setShardSize, setSize, setText, toString
-
Constructor Details
-
Method Details
-
getFuzzyOptions
-
getRegexOptions
-
getQueryContexts
public java.util.Map<java.lang.String,java.util.List<ContextMapping.InternalQueryContext>> getQueryContexts() -
isSkipDuplicates
public boolean isSkipDuplicates()
-