Example usage for Java org.apache.lucene.search.suggest.analyzing AnalyzingInfixSuggester fields, constructors, methods, implement or subclass
The text is from its open source code.
int | DEFAULT_MIN_PREFIX_CHARS Default minimum number of leading characters before PrefixQuery is used (4). |
AnalyzingInfixSuggester(Directory dir, Analyzer analyzer) Create a new instance, loading from a previously built AnalyzingInfixSuggester directory, if it exists. | |
AnalyzingInfixSuggester(Directory dir, Analyzer indexAnalyzer, Analyzer queryAnalyzer, int minPrefixChars, boolean commitOnBuild) Create a new instance, loading from a previously built AnalyzingInfixSuggester directory, if it exists. |
void | add(BytesRef text, Set Adds a new suggestion. |
void | close() |
void | commit() Commits all pending changes made to this suggester to disk. |
long | getCount() |
List | lookup(CharSequence key, Set |
List | lookup(CharSequence key, int num, boolean allTermsRequired, boolean doHighlight) Lookup, without any context. |