## Uses of Interface
org.apache.lucene.queryParser.core.processors.QueryNodeProcessor

- Packages that use QueryNodeProcessor
  Package | Description
  --- | ---
  org.apache.lucene.queryParser.core | Contains the core classes of the flexible query parser framework
  org.apache.lucene.queryParser.core.processors | Interfaces and implementations used by query node processors
  org.apache.lucene.queryParser.standard | Contains the implementation of the Lucene query parser using the flexible query parser frameworks
  org.apache.lucene.queryParser.standard.processors | Lucene Query Node Processors

- - ### Uses of QueryNodeProcessor in org.apache.lucene.queryParser.core

    Methods in org.apache.lucene.queryParser.core that return QueryNodeProcessor
    Modifier and Type | Method and Description
    --- | ---
    `QueryNodeProcessor` | QueryParserHelper.`getQueryNodeProcessor()` Returns the processor object used to process the query node tree, it returns `null` if no processor is used.

    Methods in org.apache.lucene.queryParser.core with parameters of type QueryNodeProcessor
    Modifier and Type | Method and Description
    --- | ---
    `void` | QueryParserHelper.`setQueryNodeProcessor(QueryNodeProcessor processor)` Sets the processor that will be used to process the query node tree.

    Constructors in org.apache.lucene.queryParser.core with parameters of type QueryNodeProcessor
    Constructor and Description
    `QueryParserHelper(QueryConfigHandler queryConfigHandler, SyntaxParser syntaxParser, QueryNodeProcessor processor, QueryBuilder builder)` Creates a query parser helper object using the specified configuration, text parser, processor and builder.

  - ### Uses of QueryNodeProcessor in org.apache.lucene.queryParser.core.processors

    Classes in org.apache.lucene.queryParser.core.processors that implement QueryNodeProcessor
    Modifier and Type | Class and Description
    --- | ---
    `class` | `NoChildOptimizationQueryNodeProcessor` A `NoChildOptimizationQueryNodeProcessor` removes every BooleanQueryNode, BoostQueryNode, TokenizedPhraseQueryNode or ModifierQueryNode that do not have a valid children.
    `class` | `QueryNodeProcessorImpl` This is a default implementation for the `QueryNodeProcessor` interface, it's an abstract class, so it should be extended by classes that want to process a `QueryNode` tree.
    `class` | `QueryNodeProcessorPipeline` A `QueryNodeProcessorPipeline` class should be used to build a query node processor pipeline.
    `class` | `RemoveDeletedQueryNodesProcessor` A `QueryNodeProcessorPipeline` class removes every instance of `DeletedQueryNode` from a query node tree.

    Methods in org.apache.lucene.queryParser.core.processors with parameters of type QueryNodeProcessor
    Modifier and Type | Method and Description
    --- | ---
    `void` | QueryNodeProcessorPipeline.`addProcessor(QueryNodeProcessor processor)` Adds a processor to the pipeline, it's always added to the end of the pipeline.

  - ### Uses of QueryNodeProcessor in org.apache.lucene.queryParser.standard

    Methods in org.apache.lucene.queryParser.standard that return QueryNodeProcessor
    Modifier and Type | Method and Description
    --- | ---
    `QueryNodeProcessor` | QueryParserWrapper.`getQueryProcessor()` Deprecated. Returns `QueryNodeProcessor` used to process the query node tree generated by the `StandardSyntaxParser`.

    Methods in org.apache.lucene.queryParser.standard with parameters of type QueryNodeProcessor
    Modifier and Type | Method and Description
    --- | ---
    `void` | QueryParserWrapper.`setQueryProcessor(QueryNodeProcessor processor)` Deprecated. Sets the `QueryNodeProcessor` used to process the query node tree generated by the `StandardSyntaxParser`.

  - ### Uses of QueryNodeProcessor in org.apache.lucene.queryParser.standard.processors

    Classes in org.apache.lucene.queryParser.standard.processors that implement QueryNodeProcessor
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AllowLeadingWildcardProcessor` This processor verifies if the attribute `AllowLeadingWildcardAttribute` is defined in the `QueryConfigHandler`.
    `class` | `AnalyzerQueryNodeProcessor` This processor verifies if the attribute `AnalyzerQueryNodeProcessor` is defined in the `QueryConfigHandler`.
    `class` | `BooleanSingleChildOptimizationQueryNodeProcessor` This processor removes every `BooleanQueryNode` that contains only one child and returns this child.
    `class` | `BoostQueryNodeProcessor` This processor iterates the query node tree looking for every `FieldableNode` that has the attribute `BoostAttribute` in its config.
    `class` | `DefaultPhraseSlopQueryNodeProcessor` This processor verifies if the attribute `DefaultPhraseSlopAttribute` is defined in the `QueryConfigHandler`.
    `class` | `FuzzyQueryNodeProcessor` This processor iterates the query node tree looking for every `FuzzyQueryNode`, when this kind of node is found, it checks on the query configuration for `FuzzyAttribute`, gets the fuzzy prefix length and default similarity from it and set to the fuzzy node.
    `class` | `GroupQueryNodeProcessor` The `SyntaxParser` generates query node trees that consider the boolean operator precedence, but Lucene current syntax does not support boolean precedence, so this processor remove all the precedence and apply the equivalent modifier according to the boolean operation defined on an specific query node.
    `class` | `LowercaseExpandedTermsQueryNodeProcessor` This processor verifies if the attribute `LowercaseExpandedTermsAttribute` is defined in the `QueryConfigHandler`.
    `class` | `MatchAllDocsQueryNodeProcessor` This processor converts every `WildcardQueryNode` that is "*:*" to `MatchAllDocsQueryNode`.
    `class` | `MultiFieldQueryNodeProcessor` This processor is used to expand terms so the query looks for the same term in different fields.
    `class` | `MultiTermRewriteMethodProcessor` This processor instates the default `MultiTermQuery.RewriteMethod`, `MultiTermQuery.CONSTANT_SCORE_AUTO_REWRITE_DEFAULT`, for multi-term query nodes.
    `class` | `ParametricRangeQueryNodeProcessor` This processor converts `ParametricRangeQueryNode` objects to `RangeQueryNode` objects.
    `class` | `PhraseSlopQueryNodeProcessor` This processor removes invalid `SlopQueryNode` objects in the query node tree.
    `class` | `RemoveEmptyNonLeafQueryNodeProcessor` This processor removes every `QueryNode` that is not a leaf and has not children.
    `class` | `StandardQueryNodeProcessorPipeline` This pipeline has all the processors needed to process a query node tree, generated by `StandardSyntaxParser`, already assembled.
    `class` | `WildcardQueryNodeProcessor` The `StandardSyntaxParser` creates `PrefixWildcardQueryNode` nodes which have values containing the prefixed wildcard.

Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.