Package | Description |
---|---|
org.apache.lucene.search.suggest.document |
Support for document suggestion
|
Modifier and Type | Method and Description |
---|---|
BitsProducer |
CompletionQuery.getFilter()
Returns a
BitsProducer . |
Constructor and Description |
---|
CompletionQuery(Term term,
BitsProducer filter)
Creates a base Completion query against a
term
with a filter to scope the documents |
FuzzyCompletionQuery(Analyzer analyzer,
Term term,
BitsProducer filter)
Calls
FuzzyCompletionQuery.FuzzyCompletionQuery(Analyzer, Term, BitsProducer,
int, boolean, int, int, boolean, int)
with defaults for maxEdits , transpositions ,
nonFuzzyPrefix , minFuzzyLength ,
unicodeAware and maxDeterminizedStates
See FuzzyCompletionQuery.DEFAULT_MAX_EDITS , FuzzyCompletionQuery.DEFAULT_TRANSPOSITIONS ,
FuzzyCompletionQuery.DEFAULT_NON_FUZZY_PREFIX , FuzzyCompletionQuery.DEFAULT_MIN_FUZZY_LENGTH ,
FuzzyCompletionQuery.DEFAULT_UNICODE_AWARE and Operations.DEFAULT_MAX_DETERMINIZED_STATES
for defaults |
FuzzyCompletionQuery(Analyzer analyzer,
Term term,
BitsProducer filter,
int maxEdits,
boolean transpositions,
int nonFuzzyPrefix,
int minFuzzyLength,
boolean unicodeAware,
int maxDeterminizedStates)
Constructs an analyzed fuzzy prefix completion query
|
PrefixCompletionQuery(Analyzer analyzer,
Term term,
BitsProducer filter)
Constructs an analyzed prefix completion query
|
RegexCompletionQuery(Term term,
BitsProducer filter)
Calls
RegexCompletionQuery.RegexCompletionQuery(Term, int, int, BitsProducer)
enabling all optional regex syntax and maxDeterminizedStates of
|
RegexCompletionQuery(Term term,
int flags,
int maxDeterminizedStates,
BitsProducer filter)
Constructs a regular expression completion query
|
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.