Uses of Interface
org.apache.lucene.queryparser.flexible.core.processors.QueryNodeProcessor
Package
Description
Core classes of the flexible query parser framework.
Interfaces and implementations used by query node processors
Lucene Precedence Query Parser Processors
Lucene Query Node Processors.
-
Uses of QueryNodeProcessor in org.apache.lucene.queryparser.flexible.core
Modifier and TypeMethodDescriptionQueryParserHelper.getQueryNodeProcessor()
Returns the processor object used to process the query node tree, it returnsnull
if no processor is used.Modifier and TypeMethodDescriptionvoid
QueryParserHelper.setQueryNodeProcessor
(QueryNodeProcessor processor) Sets the processor that will be used to process the query node tree.ModifierConstructorDescriptionQueryParserHelper
(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.flexible.core.processors
Modifier and TypeClassDescriptionclass
ANoChildOptimizationQueryNodeProcessor
removes every BooleanQueryNode, BoostQueryNode, TokenizedPhraseQueryNode or ModifierQueryNode that do not have a valid children.class
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
AQueryNodeProcessorPipeline
class should be used to build a query node processor pipeline.class
AQueryNodeProcessorPipeline
class removes every instance ofDeletedQueryNode
from a query node tree.Modifier and TypeMethodDescriptionQueryNodeProcessorPipeline.get
(int index) QueryNodeProcessorPipeline.remove
(int index) QueryNodeProcessorPipeline.set
(int index, QueryNodeProcessor processor) Modifier and TypeMethodDescriptionQueryNodeProcessorPipeline.iterator()
QueryNodeProcessorPipeline.listIterator()
QueryNodeProcessorPipeline.listIterator
(int index) QueryNodeProcessorPipeline.subList
(int fromIndex, int toIndex) Modifier and TypeMethodDescriptionvoid
QueryNodeProcessorPipeline.add
(int index, QueryNodeProcessor processor) boolean
QueryNodeProcessorPipeline.add
(QueryNodeProcessor processor) QueryNodeProcessorPipeline.set
(int index, QueryNodeProcessor processor) Modifier and TypeMethodDescriptionboolean
QueryNodeProcessorPipeline.addAll
(int index, Collection<? extends QueryNodeProcessor> c) boolean
QueryNodeProcessorPipeline.addAll
(Collection<? extends QueryNodeProcessor> c) -
Uses of QueryNodeProcessor in org.apache.lucene.queryparser.flexible.precedence.processors
Modifier and TypeClassDescriptionclass
This processor is used to apply the correctModifierQueryNode
toBooleanQueryNode
s children.class
This processor pipeline extendsStandardQueryNodeProcessorPipeline
and enables boolean precedence on it. -
Uses of QueryNodeProcessor in org.apache.lucene.queryparser.flexible.standard.processors
Modifier and TypeClassDescriptionclass
This processor verifies ifStandardQueryConfigHandler.ConfigurationKeys.ALLOW_LEADING_WILDCARD
is defined in theQueryConfigHandler
.class
This processor verifies ifStandardQueryConfigHandler.ConfigurationKeys.ANALYZER
is defined in theQueryConfigHandler
.class
This processor is used to apply the correctModifierQueryNode
toBooleanQueryNode
s children.class
This processor removes everyBooleanQueryNode
that contains only one child and returns this child.class
This processor iterates the query node tree looking for everyFieldableNode
that hasStandardQueryConfigHandler.ConfigurationKeys.BOOST
in its config.class
This processor verifies ifStandardQueryConfigHandler.ConfigurationKeys.PHRASE_SLOP
is defined in theQueryConfigHandler
.class
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
This processor makes sure thatStandardQueryConfigHandler.ConfigurationKeys.ANALYZER
is defined in theQueryConfigHandler
and injects this analyzer intoIntervalQueryNode
s.class
This processor converts everyWildcardQueryNode
that is "*:*" toMatchAllDocsQueryNode
.class
This processor is used to expand terms so the query looks for the same term in different fields.class
This processor instates the defaultMultiTermQuery.RewriteMethod
,MultiTermQuery.CONSTANT_SCORE_REWRITE
, for multi-term query nodes.class
ProcessesTermRangeQuery
s with open ranges.class
This processor removes invalidSlopQueryNode
objects in the query node tree.class
This processor is used to convertFieldQueryNode
s toPointRangeQueryNode
s.class
This processor is used to convertTermRangeQueryNode
s toPointRangeQueryNode
s.class
Processor for Regexp queries.class
This processor removes everyQueryNode
that is not a leaf and has not children.class
This pipeline has all the processors needed to process a query node tree, generated byStandardSyntaxParser
, already assembled.class
This processors processTermRangeQueryNode
s.class
TheStandardSyntaxParser
createsPrefixWildcardQueryNode
nodes which have values containing the prefixed wildcard.