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.analyzing |
Analyzer based 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 |
---|---|
InputIterator |
PlainTextDictionary.getEntryIterator() |
InputIterator |
LuceneDictionary.getEntryIterator() |
InputIterator |
HighFrequencyDictionary.getEntryIterator() |
InputIterator |
Dictionary.getEntryIterator()
Returns an iterator over all the entries
|
Modifier and Type | Class and Description |
---|---|
class |
BufferedInputIterator
This wrapper buffers incoming elements.
|
protected class |
DocumentDictionary.DocumentInputIterator
Implements
InputIterator from stored fields. |
static class |
InputIterator.InputIteratorWrapper
Wraps a BytesRefIterator as a suggester InputIterator, with all weights
set to
1 and carries no payload |
class |
SortedInputIterator
This wrapper buffers incoming elements and makes sure they are sorted based on given comparator.
|
class |
UnsortedInputIterator
This wrapper buffers the incoming elements and makes sure they are in
random order.
|
Modifier and Type | Field and Description |
---|---|
static InputIterator |
InputIterator.EMPTY
Singleton InputIterator that iterates over 0 BytesRefs.
|
Modifier and Type | Method and Description |
---|---|
InputIterator |
FileDictionary.getEntryIterator() |
InputIterator |
DocumentValueSourceDictionary.getEntryIterator() |
InputIterator |
DocumentDictionary.getEntryIterator() |
Modifier and Type | Method and Description |
---|---|
abstract void |
Lookup.build(InputIterator inputIterator)
Builds up a new internal
Lookup representation based on the given InputIterator . |
Constructor and Description |
---|
BufferedInputIterator(InputIterator source)
Creates a new iterator, buffering entries from the specified iterator
|
SortedInputIterator(InputIterator source)
Creates a new sorted wrapper, using
BytesRef.getUTF8SortedAsUnicodeComparator() for
sorting. |
SortedInputIterator(InputIterator source,
Comparator<BytesRef> comparator)
Creates a new sorted wrapper, sorting by BytesRef
(ascending) then cost (ascending).
|
UnsortedInputIterator(InputIterator source)
Creates a new iterator, wrapping the specified iterator and
returning elements in a random order.
|
Modifier and Type | Method and Description |
---|---|
void |
FreeTextSuggester.build(InputIterator iterator) |
void |
AnalyzingSuggester.build(InputIterator iterator) |
void |
AnalyzingInfixSuggester.build(InputIterator iter) |
void |
FreeTextSuggester.build(InputIterator iterator,
double ramBufferSizeMB)
Build the suggest index, using up to the specified
amount of temporary RAM while building.
|
Modifier and Type | Method and Description |
---|---|
void |
WFSTCompletionLookup.build(InputIterator iterator) |
void |
FSTCompletionLookup.build(InputIterator iterator) |
Modifier and Type | Method and Description |
---|---|
void |
JaspellLookup.build(InputIterator iterator)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
TSTLookup.build(InputIterator iterator) |
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.