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_RESULTAn empty result.Methods in org.apache.lucene.search.suggest.fst that return types with arguments of type FSTCompletion.CompletionModifier and TypeMethodDescriptionFSTCompletion.lookup(CharSequence key, int num) Lookup suggestions tokey.private List<FSTCompletion.Completion> FSTCompletion.lookupSortedAlphabetically(BytesRef key, int num) Lookup suggestions sorted alphabetically if weights are not constant.private ArrayList<FSTCompletion.Completion> FSTCompletion.lookupSortedByWeight(BytesRef key, int num, boolean collectAll) Lookup suggestions sorted by weight (descending order).Methods in org.apache.lucene.search.suggest.fst with parameters of type FSTCompletion.CompletionModifier and TypeMethodDescriptionintFSTCompletion.Completion.compareTo(FSTCompletion.Completion o) Method parameters in org.apache.lucene.search.suggest.fst with type arguments of type FSTCompletion.CompletionModifier and TypeMethodDescriptionprivate booleanFSTCompletion.checkExistingAndReorder(ArrayList<FSTCompletion.Completion> list, BytesRef key) Checks if the list ofLookup.LookupResults already has akey.private booleanFSTCompletion.collect(List<FSTCompletion.Completion> res, int num, int bucket, BytesRef output, FST.Arc<Object> arc) Recursive collect lookup results from the automaton subgraph starting atarc.