Package org.apache.lucene.search.suggest.fst
Finite-state based autosuggest.
-
Interface Summary Interface Description BytesRefSorter CollectsBytesRefand then allows one to iterate over their sorted order. -
Class Summary Class Description ExternalRefSorter An implementation of aBytesRefSorterthat allows appendingBytesRefs to anOfflineSorterand returns aCloseableExternalRefSorter.ByteSequenceIteratorthat iterates over sequences stored on disk.ExternalRefSorter.ByteSequenceIterator Iterates overBytesRefs in a file, closes the reader when the iterator is exhausted.FSTCompletion Finite state automata based implementation of "autocomplete" functionality.FSTCompletion.Completion A single completion for a given key.FSTCompletionBuilder Finite state automata based implementation of "autocomplete" functionality.FSTCompletionLookup An adapter fromLookupAPI toFSTCompletion.WFSTCompletionLookup Suggester based on a weighted FST: it first traverses the prefix, then walks the n shortest paths to retrieve top-ranked suggestions.