Namespace Lucene.Net.QueryParsers.Flexible.Precedence.Processors
Classes
BooleanModifiersQueryNodeProcessor
This processor is used to apply the correct ModifierQueryNode to BooleanQueryNodes children.
It walks through the query node tree looking for BooleanQueryNodes. If an AndQueryNode is found, every child, which is not a ModifierQueryNode or the ModifierQueryNode is MOD_NONE, becomes a MOD_REQ. For any other BooleanQueryNode which is not an OrQueryNode, it checks the default operator is AND, if it is, the same operation when an AndQueryNode is found is applied to it.
PrecedenceQueryNodeProcessorPipeline
This processor pipeline extends StandardQueryNodeProcessorPipeline and enables boolean precedence on it.
EXPERT: the precedence is enabled by removing GroupQueryNodeProcessor from the StandardQueryNodeProcessorPipeline and appending BooleanModifiersQueryNodeProcessor to the pipeline.