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(SearchExecutionContext searchExecutionContext) -
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, getSearchExecutionContext, getShardSize, getSize, getSuggester, getText, setAnalyzer, setField, setPrefix, setRegex, setShardSize, setSize, setText, toStringMethods 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()
-