Package | Description |
---|---|
org.apache.lucene.search.suggest |
Support for Autocomplete/Autosuggest
|
org.apache.lucene.search.suggest.fst |
Finite-state based autosuggest.
|
org.apache.lucene.search.suggest.jaspell |
JaSpell-based autosuggest.
|
org.apache.lucene.search.suggest.tst |
Ternary Search Tree based autosuggest.
|
Modifier and Type | Method and Description |
---|---|
Lookup.LookupResult[] |
Lookup.LookupPriorityQueue.getResults()
Returns the top N results in descending order.
|
Modifier and Type | Method and Description |
---|---|
abstract List<Lookup.LookupResult> |
Lookup.lookup(CharSequence key,
boolean onlyMorePopular,
int num)
Look up a key and return possible completion for this key.
|
Modifier and Type | Method and Description |
---|---|
int |
Lookup.LookupResult.compareTo(Lookup.LookupResult o)
Compare alphabetically.
|
protected boolean |
Lookup.LookupPriorityQueue.lessThan(Lookup.LookupResult a,
Lookup.LookupResult b) |
Modifier and Type | Method and Description |
---|---|
List<Lookup.LookupResult> |
WFSTCompletionLookup.lookup(CharSequence key,
boolean onlyMorePopular,
int num) |
List<Lookup.LookupResult> |
FSTLookup.lookup(CharSequence key,
boolean onlyMorePopular,
int num)
Deprecated.
Lookup autocomplete suggestions to
key . |
List<Lookup.LookupResult> |
FSTCompletionLookup.lookup(CharSequence key,
boolean higherWeightsFirst,
int num) |
Modifier and Type | Method and Description |
---|---|
List<Lookup.LookupResult> |
JaspellLookup.lookup(CharSequence key,
boolean onlyMorePopular,
int num) |
Modifier and Type | Method and Description |
---|---|
List<Lookup.LookupResult> |
TSTLookup.lookup(CharSequence key,
boolean onlyMorePopular,
int num) |