Package | Description |
---|---|
org.apache.lucene.search.spell |
Suggest alternate spellings for words.
|
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 | Class and Description |
---|---|
static class |
TermFreqIterator.TermFreqIteratorWrapper
Wraps a BytesRefIterator as a TermFreqIterator, with all weights
set to
1 |
Modifier and Type | Class and Description |
---|---|
class |
BufferingTermFreqIteratorWrapper
This wrapper buffers incoming elements.
|
class |
SortedTermFreqIteratorWrapper
This wrapper buffers incoming elements and makes sure they are sorted based on given comparator.
|
class |
UnsortedTermFreqIteratorWrapper
This wrapper buffers the incoming elements and makes sure they are in
random order.
|
Modifier and Type | Method and Description |
---|---|
TermFreqIterator |
FileDictionary.getWordsIterator() |
Modifier and Type | Method and Description |
---|---|
abstract void |
Lookup.build(TermFreqIterator tfit)
Builds up a new internal
Lookup representation based on the given TermFreqIterator . |
Constructor and Description |
---|
BufferingTermFreqIteratorWrapper(TermFreqIterator source) |
SortedTermFreqIteratorWrapper(TermFreqIterator source,
Comparator<BytesRef> comparator) |
SortedTermFreqIteratorWrapper(TermFreqIterator source,
Comparator<BytesRef> comparator,
boolean compareRawBytes) |
UnsortedTermFreqIteratorWrapper(TermFreqIterator source) |
Modifier and Type | Method and Description |
---|---|
void |
FSTCompletionLookup.build(TermFreqIterator tfit)
Builds up a new internal
Lookup representation based on the given TermFreqIterator . |
void |
FSTLookup.build(TermFreqIterator tfit)
Deprecated.
|
void |
WFSTCompletionLookup.build(TermFreqIterator iterator) |
Modifier and Type | Method and Description |
---|---|
void |
JaspellLookup.build(TermFreqIterator tfit) |
Modifier and Type | Method and Description |
---|---|
void |
TSTLookup.build(TermFreqIterator tfit) |