public class SuggestQueryConverter extends SpellingQueryConverter
ADDITIONAL_NAMECHAR_PARTS, NAMESTARTCHAR_PARTS, NMTOKEN, PATTERN, QUERY_REGEX, SURROGATE_PAIR
analyzer
Constructor and Description |
---|
SuggestQueryConverter() |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<org.apache.lucene.analysis.Token> |
convert(java.lang.String original)
Converts the original query string to a collection of Lucene Tokens.
|
analyze
getAnalyzer, init, setAnalyzer
public java.util.Collection<org.apache.lucene.analysis.Token> convert(java.lang.String original)
SpellingQueryConverter
convert
in class SpellingQueryConverter
original
- the original query string