Package org.apache.solr.spelling
Class SuggestQueryConverter
java.lang.Object
org.apache.solr.spelling.QueryConverter
org.apache.solr.spelling.SpellingQueryConverter
org.apache.solr.spelling.SuggestQueryConverter
- All Implemented Interfaces:
NamedListInitializedPlugin
Passes the entire query string to the configured analyzer as-is.
-
Field Summary
Fields inherited from class org.apache.solr.spelling.SpellingQueryConverter
QUERY_REGEXFields inherited from class org.apache.solr.spelling.QueryConverter
analyzer, PROHIBITED_TERM_FLAG, REQUIRED_TERM_FLAG, TERM_IN_BOOLEAN_QUERY_FLAG, TERM_PRECEDES_NEW_BOOLEAN_OPERATOR_FLAG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionConverts the original query string to a collection of Lucene Tokens.Methods inherited from class org.apache.solr.spelling.SpellingQueryConverter
analyzeMethods inherited from class org.apache.solr.spelling.QueryConverter
getAnalyzer, setAnalyzerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.solr.util.plugin.NamedListInitializedPlugin
init
-
Constructor Details
-
SuggestQueryConverter
public SuggestQueryConverter()
-
-
Method Details
-
convert
Description copied from class:SpellingQueryConverterConverts the original query string to a collection of Lucene Tokens.- Overrides:
convertin classSpellingQueryConverter- Parameters:
original- the original query string- Returns:
- a Collection of Lucene Tokens
-