Class LowercaseExpandedTermsQueryNodeProcessor
java.lang.Object
org.apache.lucene.queryparser.flexible.core.processors.QueryNodeProcessorImpl
org.apache.lucene.queryparser.flexible.standard.processors.LowercaseExpandedTermsQueryNodeProcessor
- All Implemented Interfaces:
QueryNodeProcessor
This processor verifies if
StandardQueryConfigHandler.ConfigurationKeys.LOWERCASE_EXPANDED_TERMS is defined in the
QueryConfigHandler. If it is and the expanded terms should be
lower-cased, it looks for every WildcardQueryNode,
FuzzyQueryNode and children of a RangeQueryNode and lower-case its
term. - See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.lucene.queryparser.flexible.core.processors.QueryNodeProcessorImpl
getQueryConfigHandler, setQueryConfigHandler
-
Constructor Details
-
LowercaseExpandedTermsQueryNodeProcessor
public LowercaseExpandedTermsQueryNodeProcessor()
-
-
Method Details
-
process
Description copied from interface:QueryNodeProcessorProcesses a query node tree. It may return the same or another query tree. I should never returnnull.- Specified by:
processin interfaceQueryNodeProcessor- Overrides:
processin classQueryNodeProcessorImpl- Parameters:
queryTree- tree root node- Returns:
- the processed query tree
- Throws:
QueryNodeException
-