Uses of Class
org.apache.lucene.search.suggest.document.CompletionQuery
Packages that use CompletionQuery
-
Uses of CompletionQuery in org.apache.lucene.search.suggest.document
Subclasses of CompletionQuery in org.apache.lucene.search.suggest.documentModifier and TypeClassDescriptionclassACompletionQuerythat matches documents specified by a wrappedCompletionQuerysupporting boosting and/or filtering by specified contexts.classACompletionQuerythat match documents containing terms within an edit distance of the specified prefix.classACompletionQuerywhich takes anAnalyzerto analyze the prefix of the query term.classACompletionQuerywhich takes a regular expression as the prefix of the query term.Fields in org.apache.lucene.search.suggest.document declared as CompletionQueryModifier and TypeFieldDescriptionprotected CompletionQueryContextQuery.innerQueryInner completion queryMethods in org.apache.lucene.search.suggest.document with parameters of type CompletionQueryModifier and TypeMethodDescriptionSuggestIndexSearcher.suggest(CompletionQuery query, int n, boolean skipDuplicates) Returns topncompletion hits forqueryvoidSuggestIndexSearcher.suggest(CompletionQuery query, TopSuggestDocsCollector collector) Lower-level suggest API.Constructors in org.apache.lucene.search.suggest.document with parameters of type CompletionQueryModifierConstructorDescriptionCompletionWeight(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.