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 java.util.List<FSTCompletion.Completion>
FSTCompletion. lookup(java.lang.CharSequence key, int num)
Lookup suggestions tokey
.private java.util.List<FSTCompletion.Completion>
FSTCompletion. lookupSortedAlphabetically(BytesRef key, int num)
Lookup suggestions sorted alphabetically if weights are not constant.private java.util.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.Completion Modifier and Type Method Description int
FSTCompletion.Completion. compareTo(FSTCompletion.Completion o)
Method parameters in org.apache.lucene.search.suggest.fst with type arguments of type FSTCompletion.Completion Modifier and Type Method Description private boolean
FSTCompletion. checkExistingAndReorder(java.util.ArrayList<FSTCompletion.Completion> list, BytesRef key)
Checks if the list ofLookup.LookupResult
s already has akey
.private boolean
FSTCompletion. collect(java.util.List<FSTCompletion.Completion> res, int num, int bucket, BytesRef output, FST.Arc<java.lang.Object> arc)
Recursive collect lookup results from the automaton subgraph starting atarc
.
-