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(SearchExecutionContext searchExecutionContext)
-
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, getSearchExecutionContext, getShardSize, getSize, getSuggester, getText, setAnalyzer, setField, setPrefix, setRegex, setShardSize, setSize, setText, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
CompletionSuggestionContext
-
-
Method Details
-
getFuzzyOptions
-
getRegexOptions
-
getQueryContexts
public java.util.Map<java.lang.String,java.util.List<ContextMapping.InternalQueryContext>> getQueryContexts() -
isSkipDuplicates
public boolean isSkipDuplicates()
-