Class NoChildOptimizationQueryNodeProcessor

  • All Implemented Interfaces:
    QueryNodeProcessor

    public class NoChildOptimizationQueryNodeProcessor
    extends QueryNodeProcessorImpl
    A NoChildOptimizationQueryNodeProcessor removes every BooleanQueryNode, BoostQueryNode, TokenizedPhraseQueryNode or ModifierQueryNode that do not have a valid children.

    Example: When the children of these nodes are removed for any reason then the nodes may become invalid.