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