Uses of Class
org.apache.lucene.search.suggest.document.CompletionQuery
-
Packages that use CompletionQuery Package Description org.apache.lucene.search.suggest.document org.elasticsearch.index.mapper org.elasticsearch.search.suggest.completion.context -
-
Uses of CompletionQuery in org.apache.lucene.search.suggest.document
Subclasses of CompletionQuery in org.apache.lucene.search.suggest.document Modifier and Type Class Description classContextQueryACompletionQuerythat matches documents specified by a wrappedCompletionQuerysupporting boosting and/or filtering by specified contexts.classFuzzyCompletionQueryACompletionQuerythat match documents containing terms within an edit distance of the specified prefix.classPrefixCompletionQueryACompletionQuerywhich takes anAnalyzerto analyze the prefix of the query term.classRegexCompletionQueryACompletionQuerywhich takes a regular expression as the prefix of the query term.Fields in org.apache.lucene.search.suggest.document declared as CompletionQuery Modifier and Type Field Description protected CompletionQueryContextQuery. innerQueryInner completion queryConstructors in org.apache.lucene.search.suggest.document with parameters of type CompletionQuery Constructor Description CompletionWeight(CompletionQuery query, Automaton automaton)Creates a weight forquerywith anautomaton, using thereaderfor index statsContextQuery(CompletionQuery query)Constructs a context completion query that matches documents specified byquery. -
Uses of CompletionQuery in org.elasticsearch.index.mapper
Methods in org.elasticsearch.index.mapper that return CompletionQuery Modifier and Type Method Description CompletionQueryCompletionFieldMapper.CompletionFieldType. fuzzyQuery(String value, Fuzziness fuzziness, int nonFuzzyPrefixLength, int minFuzzyPrefixLength, int maxExpansions, boolean transpositions, boolean unicodeAware)Completion prefix fuzzy queryCompletionQueryCompletionFieldMapper.CompletionFieldType. prefixQuery(Object value)Completion prefix queryCompletionQueryCompletionFieldMapper.CompletionFieldType. regexpQuery(Object value, int flags, int maxDeterminizedStates)Completion prefix regular expression query -
Uses of CompletionQuery in org.elasticsearch.search.suggest.completion.context
Methods in org.elasticsearch.search.suggest.completion.context with parameters of type CompletionQuery Modifier and Type Method Description ContextQueryContextMappings. toContextQuery(CompletionQuery query, Map<String,List<ContextMapping.InternalQueryContext>> queryContexts)Wraps aCompletionQuerywith context queries
-