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 frameworkorg.apache.lucene.queryParser.core.processors Interfaces and implementations used by query node processorsorg.apache.lucene.queryParser.precedence.processors This package contains the processors used by Precedence Query Parserorg.apache.lucene.queryParser.standard Contains the implementation of the Lucene query parser using the flexible query parser frameworksorg.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 Description QueryNodeProcessor
QueryParserHelper. getQueryNodeProcessor()
Returns the processor object used to process the query node tree, it returnsnull
if no processor is used.Methods in org.apache.lucene.queryParser.core with parameters of type QueryNodeProcessor Modifier and Type Method 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 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 Description class
NoChildOptimizationQueryNodeProcessor
ANoChildOptimizationQueryNodeProcessor
removes every BooleanQueryNode, BoostQueryNode, TokenizedPhraseQueryNode or ModifierQueryNode that do not have a valid children.class
QueryNodeProcessorImpl
This is a default implementation for theQueryNodeProcessor
interface, it's an abstract class, so it should be extended by classes that want to process aQueryNode
tree.class
QueryNodeProcessorPipeline
AQueryNodeProcessorPipeline
class should be used to build a query node processor pipeline.class
RemoveDeletedQueryNodesProcessor
AQueryNodeProcessorPipeline
class removes every instance ofDeletedQueryNode
from a query node tree.Methods in org.apache.lucene.queryParser.core.processors that return QueryNodeProcessor Modifier and Type Method Description QueryNodeProcessor
QueryNodeProcessorPipeline. get(int index)
QueryNodeProcessor
QueryNodeProcessorPipeline. remove(int index)
QueryNodeProcessor
QueryNodeProcessorPipeline. set(int index, QueryNodeProcessor processor)
Methods in org.apache.lucene.queryParser.core.processors that return types with arguments of type QueryNodeProcessor Modifier and Type Method Description Iterator<QueryNodeProcessor>
QueryNodeProcessorPipeline. iterator()
ListIterator<QueryNodeProcessor>
QueryNodeProcessorPipeline. listIterator()
ListIterator<QueryNodeProcessor>
QueryNodeProcessorPipeline. listIterator(int index)
List<QueryNodeProcessor>
QueryNodeProcessorPipeline. subList(int fromIndex, int toIndex)
Methods in org.apache.lucene.queryParser.core.processors with parameters of type QueryNodeProcessor Modifier and Type Method Description void
QueryNodeProcessorPipeline. add(int index, QueryNodeProcessor processor)
boolean
QueryNodeProcessorPipeline. add(QueryNodeProcessor processor)
void
QueryNodeProcessorPipeline. addProcessor(QueryNodeProcessor processor)
Deprecated.this class now conforms toList
interface, so useQueryNodeProcessorPipeline.add(QueryNodeProcessor)
insteadQueryNodeProcessor
QueryNodeProcessorPipeline. set(int index, QueryNodeProcessor processor)
Method parameters in org.apache.lucene.queryParser.core.processors with type arguments of type QueryNodeProcessor Modifier and Type Method Description boolean
QueryNodeProcessorPipeline. addAll(int index, Collection<? extends QueryNodeProcessor> c)
boolean
QueryNodeProcessorPipeline. addAll(Collection<? extends QueryNodeProcessor> c)
-
Uses of QueryNodeProcessor in org.apache.lucene.queryParser.precedence.processors
Classes in org.apache.lucene.queryParser.precedence.processors that implement QueryNodeProcessor Modifier and Type Class Description class
BooleanModifiersQueryNodeProcessor
This processor is used to apply the correctModifierQueryNode
toBooleanQueryNode
s children.class
PrecedenceQueryNodeProcessorPipeline
This processor pipeline extendsStandardQueryNodeProcessorPipeline
and enables boolean precedence on it. -
Uses of QueryNodeProcessor in org.apache.lucene.queryParser.standard
Methods in org.apache.lucene.queryParser.standard that return QueryNodeProcessor Modifier and Type Method Description QueryNodeProcessor
QueryParserWrapper. getQueryProcessor()
Deprecated.ReturnsQueryNodeProcessor
used to process the query node tree generated by theStandardSyntaxParser
.Methods in org.apache.lucene.queryParser.standard with parameters of type QueryNodeProcessor Modifier and Type Method Description void
QueryParserWrapper. setQueryProcessor(QueryNodeProcessor processor)
Deprecated.Sets theQueryNodeProcessor
used to process the query node tree generated by theStandardSyntaxParser
. -
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 Description class
AllowLeadingWildcardProcessor
This processor verifies ifStandardQueryConfigHandler.ConfigurationKeys.ALLOW_LEADING_WILDCARD
is defined in theQueryConfigHandler
.class
AnalyzerQueryNodeProcessor
This processor verifies ifStandardQueryConfigHandler.ConfigurationKeys.ANALYZER
is defined in theQueryConfigHandler
.class
BooleanQuery2ModifierNodeProcessor
This processor is used to apply the correctModifierQueryNode
toBooleanQueryNode
s children.class
BooleanSingleChildOptimizationQueryNodeProcessor
This processor removes everyBooleanQueryNode
that contains only one child and returns this child.class
BoostQueryNodeProcessor
This processor iterates the query node tree looking for everyFieldableNode
that hasStandardQueryConfigHandler.ConfigurationKeys.BOOST
in its config.class
DefaultPhraseSlopQueryNodeProcessor
This processor verifies ifStandardQueryConfigHandler.ConfigurationKeys.PHRASE_SLOP
is defined in theQueryConfigHandler
.class
FuzzyQueryNodeProcessor
This processor iterates the query node tree looking for everyFuzzyQueryNode
, when this kind of node is found, it checks on the query configuration forStandardQueryConfigHandler.ConfigurationKeys.FUZZY_CONFIG
, gets the fuzzy prefix length and default similarity from it and set to the fuzzy node.class
GroupQueryNodeProcessor
Deprecated.useBooleanQuery2ModifierNodeProcessor
insteadclass
LowercaseExpandedTermsQueryNodeProcessor
This processor verifies ifStandardQueryConfigHandler.ConfigurationKeys.LOWERCASE_EXPANDED_TERMS
is defined in theQueryConfigHandler
.class
MatchAllDocsQueryNodeProcessor
This processor converts everyWildcardQueryNode
that is "*:*" toMatchAllDocsQueryNode
.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 defaultMultiTermQuery.RewriteMethod
,MultiTermQuery.CONSTANT_SCORE_AUTO_REWRITE_DEFAULT
, for multi-term query nodes.class
NumericQueryNodeProcessor
This processor is used to convertFieldQueryNode
s toNumericRangeQueryNode
s.class
NumericRangeQueryNodeProcessor
This processor is used to convertParametricRangeQueryNode
s toNumericRangeQueryNode
s.class
ParametricRangeQueryNodeProcessor
This processor convertsParametricRangeQueryNode
objects toRangeQueryNode
objects.class
PhraseSlopQueryNodeProcessor
This processor removes invalidSlopQueryNode
objects in the query node tree.class
RemoveEmptyNonLeafQueryNodeProcessor
This processor removes everyQueryNode
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 byStandardSyntaxParser
, already assembled.class
WildcardQueryNodeProcessor
TheStandardSyntaxParser
createsPrefixWildcardQueryNode
nodes which have values containing the prefixed wildcard.
-