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 protected
CompletionSuggestionContext(QueryShardContext shardContext)
-
Method Summary
Modifier and Type Method Description FuzzyOptions
getFuzzyOptions()
java.util.Map<java.lang.String,java.util.List<ContextMapping.InternalQueryContext>>
getQueryContexts()
RegexOptions
getRegexOptions()
boolean
isSkipDuplicates()
-
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 Detail
-
CompletionSuggestionContext
protected CompletionSuggestionContext(QueryShardContext shardContext)
-
-
Method Detail
-
getFuzzyOptions
public FuzzyOptions getFuzzyOptions()
-
getRegexOptions
public RegexOptions getRegexOptions()
-
getQueryContexts
public java.util.Map<java.lang.String,java.util.List<ContextMapping.InternalQueryContext>> getQueryContexts()
-
isSkipDuplicates
public boolean isSkipDuplicates()
-
-