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

public class BooleanSingleChildOptimizationQueryNodeProcessor extends QueryNodeProcessorImpl
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: