public class SuggestQueryConverter extends SpellingQueryConverter
QUERY_REGEX
analyzer, PROHIBITED_TERM_FLAG, REQUIRED_TERM_FLAG, TERM_IN_BOOLEAN_QUERY_FLAG, TERM_PRECEDES_NEW_BOOLEAN_OPERATOR_FLAG
Constructor and Description |
---|
SuggestQueryConverter() |
Modifier and Type | Method and Description |
---|---|
Collection<Token> |
convert(String original)
Converts the original query string to a collection of Lucene Tokens.
|
analyze
getAnalyzer, init, setAnalyzer
public Collection<Token> convert(String original)
SpellingQueryConverter
convert
in class SpellingQueryConverter
original
- the original query stringCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.