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.util |
Some utility classes.
|
Modifier and Type | Interface and Description |
---|---|
interface |
TermFreqIterator
Interface for enumerating term,weight pairs.
|
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 | Method and Description |
---|---|
BytesRefIterator |
PlainTextDictionary.getWordsIterator() |
BytesRefIterator |
LuceneDictionary.getWordsIterator() |
BytesRefIterator |
HighFrequencyDictionary.getWordsIterator() |
BytesRefIterator |
Dictionary.getWordsIterator()
Return all words present in the dictionary
|
Constructor and Description |
---|
TermFreqIterator.TermFreqIteratorWrapper(BytesRefIterator wrapped) |
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 |
---|---|
BytesRefIterator |
BytesRefList.iterator()
sugar for
BytesRefList.iterator(Comparator) with a null comparator |
BytesRefIterator |
BytesRefList.iterator(Comparator<BytesRef> comp)
Returns a
BytesRefIterator with point in time semantics. |
Modifier and Type | Method and Description |
---|---|
BytesRefIterator |
InMemorySorter.iterator() |
BytesRefIterator |
ExternalRefSorter.iterator() |
BytesRefIterator |
BytesRefSorter.iterator()
Sorts the entries added in
BytesRefSorter.add(BytesRef) and returns
an iterator over all sorted entries. |
Modifier and Type | Field and Description |
---|---|
static BytesRefIterator |
BytesRefIterator.EMPTY
Singleton BytesRefIterator that iterates over 0 BytesRefs.
|