Package | Description |
---|---|
org.apache.lucene.search.suggest.document |
Support for document suggestion
|
Modifier and Type | Class and Description |
---|---|
class |
ContextQuery
A
CompletionQuery that matches documents specified by
a wrapped CompletionQuery supporting boosting and/or filtering
by specified contexts. |
class |
FuzzyCompletionQuery
A
CompletionQuery that match documents containing terms
within an edit distance of the specified prefix. |
class |
PrefixCompletionQuery
A
CompletionQuery which takes an Analyzer
to analyze the prefix of the query term. |
class |
RegexCompletionQuery
A
CompletionQuery which takes a regular expression
as the prefix of the query term. |
Modifier and Type | Field and Description |
---|---|
protected CompletionQuery |
ContextQuery.innerQuery
Inner completion query
|
Modifier and Type | Method and Description |
---|---|
TopSuggestDocs |
SuggestIndexSearcher.suggest(CompletionQuery query,
int n,
boolean skipDuplicates)
Returns top
n completion hits for
query |
void |
SuggestIndexSearcher.suggest(CompletionQuery query,
TopSuggestDocsCollector collector)
Lower-level suggest API.
|
Constructor and Description |
---|
CompletionWeight(CompletionQuery query,
Automaton automaton)
Creates a weight for
query with an automaton ,
using the reader for index stats |
ContextQuery(CompletionQuery query)
Constructs a context completion query that matches
documents specified by
query . |
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.