Package org.apache.lucene.search.suggest.analyzing
Analyzer based autosuggest.
-
Class Summary Class Description AnalyzingInfixSuggester Analyzes the input text and then suggests matches based on prefix matches to any tokens in the indexed text.AnalyzingSuggester Suggester that first analyzes the surface form, adds the analyzed form to a weighted FST, and then does the same thing at lookup time.BlendedInfixSuggester Extension of the AnalyzingInfixSuggester which transforms the weight after search to take into account the position of the searched term into the indexed text.FreeTextSuggester Builds an ngram model from the text sent toFreeTextSuggester.build(org.apache.lucene.search.suggest.InputIterator)
and predicts based on the last grams-1 tokens in the request sent toFreeTextSuggester.lookup(java.lang.CharSequence, boolean, int)
.FSTUtil FSTUtil.Path<T> Holds a pair (automaton, fst) of states and accumulated output in the intersected machine.FuzzySuggester Implements a fuzzyAnalyzingSuggester
.SuggestStopFilter LikeStopFilter
except it will not remove the last token if that token was not followed by some token separator. -
Enum Summary Enum Description BlendedInfixSuggester.BlenderType The different types of blender.