Uses of Class
org.apache.lucene.search.suggest.fst.FSTCompletion.Completion
-
Packages that use FSTCompletion.Completion Package Description org.apache.lucene.search.suggest.fst Finite-state based autosuggest. -
-
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.Completion Modifier and Type Field Description private static java.util.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.Completion Modifier and Type Method Description private java.util.stream.Stream<? extends FSTCompletion.Completion>
FSTCompletion. completionStream(BytesRef output, int bucket, FST.Arc<java.lang.Object> fromArc)
Return a stream of all completions starting from the provided arc.java.util.stream.Stream<FSTCompletion.Completion>
FSTCompletion. lookup(java.lang.CharSequence key)
Lookup suggestions tokey
and return a stream of matching completions.java.util.List<FSTCompletion.Completion>
FSTCompletion. lookup(java.lang.CharSequence key, int num)
Lookup suggestions tokey
.private java.util.stream.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.Completion Modifier and Type Method Description int
FSTCompletion.Completion. compareTo(FSTCompletion.Completion o)
Completions are equal when theirutf8
images are equal (bucket is not compared).
-