Package org.apache.lucene.queryParser.standard.processors

Lucene Query Node Processors

See:
          Description

Class Summary
AllowLeadingWildcardProcessor This processor verifies if the attribute AllowLeadingWildcardAttribute is defined in the QueryConfigHandler.
AnalyzerQueryNodeProcessor This processor verifies if the attribute AnalyzerQueryNodeProcessor is defined in the QueryConfigHandler.
BooleanSingleChildOptimizationQueryNodeProcessor This processor removes every BooleanQueryNode that contains only one child and returns this child.
BoostQueryNodeProcessor This processor iterates the query node tree looking for every FieldableNode that has the attribute BoostAttribute in its config.
DefaultPhraseSlopQueryNodeProcessor This processor verifies if the attribute DefaultPhraseSlopAttribute is defined in the QueryConfigHandler.
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.
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.
LowercaseExpandedTermsQueryNodeProcessor This processor verifies if the attribute LowercaseExpandedTermsAttribute is defined in the QueryConfigHandler.
MatchAllDocsQueryNodeProcessor This processor converts every WildcardQueryNode that is "*:*" to MatchAllDocsQueryNode.
MultiFieldQueryNodeProcessor This processor is used to expand terms so the query looks for the same term in different fields.
MultiTermRewriteMethodProcessor This processor instates the default MultiTermQuery.RewriteMethod, MultiTermQuery.CONSTANT_SCORE_AUTO_REWRITE_DEFAULT, for multi-term query nodes.
ParametricRangeQueryNodeProcessor This processor converts ParametricRangeQueryNode objects to RangeQueryNode objects.
PhraseSlopQueryNodeProcessor This processor removes invalid SlopQueryNode objects in the query node tree.
RemoveEmptyNonLeafQueryNodeProcessor This processor removes every QueryNode that is not a leaf and has not children.
StandardQueryNodeProcessorPipeline This pipeline has all the processors needed to process a query node tree, generated by StandardSyntaxParser, already assembled.
WildcardQueryNodeProcessor The StandardSyntaxParser creates PrefixWildcardQueryNode nodes which have values containing the prefixed wildcard.
 

Package org.apache.lucene.queryParser.standard.processors Description

Lucene Query Node Processors

The package org.apache.lucene.queryParser.standard.processors contains every processor needed to assembly a pipeline that modifies the query node tree according to the actual Lucene queries.

This processors are already assembled correctly in the StandardQueryNodeProcessorPipeline.



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