Uses of Interface
org.apache.lucene.search.suggest.InputIterator
Packages that use InputIterator
Package
Description
Suggest alternate spellings for words.
Support for Autocomplete/Autosuggest
Analyzer based autosuggest.
Finite-state based autosuggest.
Ternary Search Tree based autosuggest.
-
Uses of InputIterator in org.apache.lucene.search.spell
Methods in org.apache.lucene.search.spell that return InputIteratorModifier and TypeMethodDescriptionDictionary.getEntryIterator()
Returns an iterator over all the entriesfinal InputIterator
HighFrequencyDictionary.getEntryIterator()
final InputIterator
LuceneDictionary.getEntryIterator()
PlainTextDictionary.getEntryIterator()
-
Uses of InputIterator in org.apache.lucene.search.suggest
Classes in org.apache.lucene.search.suggest that implement InputIteratorModifier and TypeClassDescriptionclass
This wrapper buffers incoming elements.protected class
ImplementsInputIterator
from stored fields.static class
Wraps a BytesRefIterator as a suggester InputIterator, with all weights set to1
and carries no payloadclass
This wrapper buffers incoming elements and makes sure they are sorted based on given comparator.class
This wrapper buffers the incoming elements and makes sure they are in random order.Fields in org.apache.lucene.search.suggest declared as InputIteratorModifier and TypeFieldDescriptionstatic final InputIterator
InputIterator.EMPTY
Singleton InputIterator that iterates over 0 BytesRefs.Methods in org.apache.lucene.search.suggest that return InputIteratorModifier and TypeMethodDescriptionDocumentDictionary.getEntryIterator()
DocumentValueSourceDictionary.getEntryIterator()
FileDictionary.getEntryIterator()
Methods in org.apache.lucene.search.suggest with parameters of type InputIteratorModifier and TypeMethodDescriptionabstract void
Lookup.build
(InputIterator inputIterator) Builds up a new internalLookup
representation based on the givenInputIterator
.Constructors in org.apache.lucene.search.suggest with parameters of type InputIteratorModifierConstructorDescriptionBufferedInputIterator
(InputIterator source) Creates a new iterator, buffering entries from the specified iteratorSortedInputIterator
(Directory tempDir, String tempFileNamePrefix, InputIterator source) Creates a new sorted wrapper, using natural order for sorting.SortedInputIterator
(Directory tempDir, String tempFileNamePrefix, 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. -
Uses of InputIterator in org.apache.lucene.search.suggest.analyzing
Methods in org.apache.lucene.search.suggest.analyzing with parameters of type InputIteratorModifier and TypeMethodDescriptionvoid
AnalyzingInfixSuggester.build
(InputIterator iter) void
AnalyzingSuggester.build
(InputIterator iterator) void
FreeTextSuggester.build
(InputIterator iterator) void
FreeTextSuggester.build
(InputIterator iterator, double ramBufferSizeMB) Build the suggest index, using up to the specified amount of temporary RAM while building. -
Uses of InputIterator in org.apache.lucene.search.suggest.fst
Methods in org.apache.lucene.search.suggest.fst with parameters of type InputIteratorModifier and TypeMethodDescriptionvoid
FSTCompletionLookup.build
(InputIterator iterator) void
WFSTCompletionLookup.build
(InputIterator iterator) -
Uses of InputIterator in org.apache.lucene.search.suggest.tst
Methods in org.apache.lucene.search.suggest.tst with parameters of type InputIterator