Uses of Class
org.apache.lucene.search.suggest.document.CompletionQuery
-
Packages that use CompletionQuery Package Description org.apache.lucene.search.suggest.document Support for document suggestion -
-
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 queryMethods in org.apache.lucene.search.suggest.document with parameters of type CompletionQuery Modifier and Type Method Description TopSuggestDocsSuggestIndexSearcher. 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 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.
-