Class | Description |
---|---|
AllowFuzzyAndWildcardProcessor |
This processor checks if the
KeywordQueryConfigHandler.KeywordConfigurationKeys.ALLOW_FUZZY_AND_WILDCARD
configuration is satisfied. |
AllowTwigProcessor |
This processor checks if the
KeywordQueryConfigHandler.KeywordConfigurationKeys.ALLOW_TWIG
configuration is satisfied. |
ChangeDefaultOperatorNodeProcessor |
This processor change the default operator if a unary operator +
(
ModifierQueryNode.Modifier.MOD_REQ ) is found. |
DatatypeAnalyzerProcessor |
This processor analyzes query terms based on their datatype.
|
DatatypeQueryNodeProcessor |
This processor tags all the descendant of a
DatatypeQueryNode
with the datatype label using the TAG DatatypeQueryNode.DATATYPE_TAGID . |
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. |
KeywordQueryNodeProcessorPipeline |
This pipeline has all the processors needed to process a query node tree,
generated by
KeywordSyntaxParser , already assembled. |
MultiNodeTermRewriteMethodProcessor |
This processor instates the default
MultiNodeTermQuery.RewriteMethod ,
MultiNodeTermQuery.CONSTANT_SCORE_AUTO_REWRITE_DEFAULT , for multi-term
query nodes. |
NodeBooleanQueryNodeProcessor |
This processor converts a
BooleanQueryNode into a NodeBooleanQueryNode . |
NodeNumericQueryNodeProcessor |
This processor is used to convert
FieldQueryNode s to
NodeNumericRangeQueryNode s. |
NodeNumericRangeQueryNodeProcessor |
This processor is used to convert
TermRangeQueryNode s to
NodeNumericRangeQueryNode s. |
NotSupportedQueryProcessor |
This processor throws an exception if it encounters a
Query
that is not supported in SIREn. |
PhraseQueryNodeProcessor |
This processor analyses a
FieldQueryNode using a WhitespaceAnalyzer
and outputs a TokenizedPhraseQueryNode if more than one token are returned. |
QNamesProcessor |
This processor replaces QNames occurring in a
ProtectedQueryNode by their namespace. |
RootLevelTwigQueryNodeProcessor |
This processor sets the level of the root of the
TwigQueryNode . |
TopLevelQueryNodeProcessor |
This processor removes the
TopLevelQueryNode and returns its
child wrapped in a BooleanQueryNode , in the case where
KeywordQueryConfigHandler.KeywordConfigurationKeys.ALLOW_TWIG is false ; otherwise,
it is left unchanged. |
WildcardNodeQueryNodeProcessor | |
WildcardQueryNodeProcessor |
Wildcards within a
ProtectedQueryNode are not processed |
QueryNodeProcessor
used to alter the QueryNode
tree created by the KeywordSyntaxParser
.
The processors are used in sequence in a pipeline KeywordQueryNodeProcessorPipeline
.
The order of the processors are crucial for the processing, and it is the
following:
TopLevelQueryNodeProcessor
AllowTwigProcessor
WildcardNodeQueryNodeProcessor
RootLevelTwigQueryNodeProcessor
ChangeDefaultOperatorNodeProcessor
WildcardQueryNodeProcessor
OpenRangeQueryNodeProcessor
PhraseQueryNodeProcessor
DatatypeQueryNodeProcessor
OpenRangeQueryNodeProcessor
NodeNumericQueryNodeProcessor
NodeNumericRangeQueryNodeProcessor
TermRangeQueryNodeProcessor
LowercaseExpandedTermsQueryNodeProcessor
DatatypeAnalyzerProcessor
PhraseSlopQueryNodeProcessor
DefaultPhraseSlopQueryNodeProcessor
AllowFuzzyAndWildcardProcessor
AllowLeadingWildcardProcessor
GroupQueryNodeProcessor
NoChildOptimizationQueryNodeProcessor
RemoveDeletedQueryNodesProcessor
RemoveEmptyNonLeafQueryNodeProcessor
BooleanSingleChildOptimizationQueryNodeProcessor
MultiNodeTermRewriteMethodProcessor
NodeBooleanQueryNodeProcessor
QNamesProcessor
NotSupportedQueryProcessor
Copyright © 2014. All rights reserved.