Class BooleanSingleChildOptimizationQueryNodeProcessor
java.lang.Object
org.apache.lucene.queryparser.flexible.core.processors.QueryNodeProcessorImpl
org.apache.lucene.queryparser.flexible.standard.processors.BooleanSingleChildOptimizationQueryNodeProcessor
- All Implemented Interfaces:
QueryNodeProcessor
This processor removes every
BooleanQueryNode that contains only one
child and returns this child. If this child is ModifierQueryNode that
was defined by the user. A modifier is not defined by the user when it's a
BooleanModifierNode - See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.lucene.queryparser.flexible.core.processors.QueryNodeProcessorImpl
getQueryConfigHandler, process, setQueryConfigHandler
-
Constructor Details
-
BooleanSingleChildOptimizationQueryNodeProcessor
public BooleanSingleChildOptimizationQueryNodeProcessor()
-