# Package org.apache.lucene.queryparser.flexible.precedence.processors

package org.apache.lucene.queryparser.flexible.precedence.processors
Lucene Precedence Query Parser Processors

This package contains the 2 `QueryNodeProcessor`s used by `PrecedenceQueryParser`.

`BooleanModifiersQueryNodeProcessor`: this processor is used to apply `ModifierQueryNode`s on `BooleanQueryNode` children according to the boolean type or the default operator.

`PrecedenceQueryNodeProcessorPipeline`: this processor pipeline is used by `PrecedenceQueryParser`. It extends `StandardQueryNodeProcessorPipeline` and rearrange the pipeline so the boolean precedence is processed correctly. Check `PrecedenceQueryNodeProcessorPipeline` for more details.

Related Packages
Package
Description
org.apache.lucene.queryparser.flexible.precedence
Precedence Query Parser Implementation
Classes
Class
Description
BooleanModifiersQueryNodeProcessor
This processor is used to apply the correct `ModifierQueryNode` to `BooleanQueryNode`s children.
PrecedenceQueryNodeProcessorPipeline
This processor pipeline extends `StandardQueryNodeProcessorPipeline` and enables boolean precedence on it.