Uses of Class
org.apache.lucene.search.suggest.fst.FSTCompletion.Completion
Packages that use FSTCompletion.Completion
-
Uses of FSTCompletion.Completion in org.apache.lucene.search.suggest.fst
Fields in org.apache.lucene.search.suggest.fst with type parameters of type FSTCompletion.CompletionModifier and TypeFieldDescriptionprivate static final ArrayList
<FSTCompletion.Completion> FSTCompletion.EMPTY_RESULT
An empty result.Methods in org.apache.lucene.search.suggest.fst that return types with arguments of type FSTCompletion.CompletionModifier and TypeMethodDescriptionprivate Stream
<? extends FSTCompletion.Completion> FSTCompletion.completionStream
(BytesRef output, int bucket, FST.Arc<Object> fromArc) Return a stream of all completions starting from the provided arc.FSTCompletion.lookup
(CharSequence key) Lookup suggestions tokey
and return a stream of matching completions.FSTCompletion.lookup
(CharSequence key, int num) Lookup suggestions tokey
.private Stream
<FSTCompletion.Completion> FSTCompletion.lookupSortedByWeight
(BytesRef key) Lookup suggestions sorted by weight (descending order).Methods in org.apache.lucene.search.suggest.fst with parameters of type FSTCompletion.CompletionModifier and TypeMethodDescriptionint
FSTCompletion.Completion.compareTo
(FSTCompletion.Completion o) Completions are equal when theirutf8
images are equal (bucket is not compared).