Package org.apache.lucene.search.suggest.analyzing
package org.apache.lucene.search.suggest.analyzing
Analyzer based autosuggest.
-
ClassDescriptionAnalyzes the input text and then suggests matches based on prefix matches to any tokens in the indexed text.Suggester that first analyzes the surface form, adds the analyzed form to a weighted FST, and then does the same thing at lookup time.Extension of the AnalyzingInfixSuggester which transforms the weight after search to take into account the position of the searched term into the indexed text.The different types of blender.Builds an ngram model from the text sent to
FreeTextSuggester.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.Path<T>Holds a pair (automaton, fst) of states and accumulated output in the intersected machine.Implements a fuzzyAnalyzingSuggester
.LikeStopFilter
except it will not remove the last token if that token was not followed by some token separator.