Package | Description |
---|---|
org.apache.lucene.search.spell |
Suggest alternate spellings for words.
|
org.apache.lucene.search.suggest |
Support for Autocomplete/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.
|
Constructor and Description |
---|
BufferingTermFreqIteratorWrapper(TermFreqIterator source)
Creates a new iterator, buffering entries from the specified iterator
|
SortedTermFreqIteratorWrapper(TermFreqIterator source)
Creates a new sorted wrapper, using
BytesRef.getUTF8SortedAsUnicodeComparator() for
sorting. |
SortedTermFreqIteratorWrapper(TermFreqIterator source,
Comparator<BytesRef> comparator)
Creates a new sorted wrapper, sorting by BytesRef
(ascending) then cost (ascending).
|
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.