Uses of Interface
org.apache.lucene.queryparser.flexible.core.processors.QueryNodeProcessor
Packages that use 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
Methods in org.apache.lucene.queryparser.flexible.core that return QueryNodeProcessorModifier and TypeMethodDescriptionQueryParserHelper.getQueryNodeProcessor()Returns the processor object used to process the query node tree, it returnsnullif no processor is used.Methods in org.apache.lucene.queryparser.flexible.core with parameters of type QueryNodeProcessorModifier and TypeMethodDescriptionvoidQueryParserHelper.setQueryNodeProcessor(QueryNodeProcessor processor) Sets the processor that will be used to process the query node tree.Constructors in org.apache.lucene.queryparser.flexible.core with parameters of type QueryNodeProcessorModifierConstructorDescriptionQueryParserHelper(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
Classes in org.apache.lucene.queryparser.flexible.core.processors that implement QueryNodeProcessorModifier and TypeClassDescriptionclassANoChildOptimizationQueryNodeProcessorremoves every BooleanQueryNode, BoostQueryNode, TokenizedPhraseQueryNode or ModifierQueryNode that do not have a valid children.classThis is a default implementation for theQueryNodeProcessorinterface, it's an abstract class, so it should be extended by classes that want to process aQueryNodetree.classAQueryNodeProcessorPipelineclass should be used to build a query node processor pipeline.classAQueryNodeProcessorPipelineclass removes every instance ofDeletedQueryNodefrom a query node tree.Methods in org.apache.lucene.queryparser.flexible.core.processors that return QueryNodeProcessorModifier and TypeMethodDescriptionQueryNodeProcessorPipeline.get(int index) QueryNodeProcessorPipeline.remove(int index) QueryNodeProcessorPipeline.set(int index, QueryNodeProcessor processor) Methods in org.apache.lucene.queryparser.flexible.core.processors that return types with arguments of type QueryNodeProcessorModifier and TypeMethodDescriptionQueryNodeProcessorPipeline.iterator()QueryNodeProcessorPipeline.listIterator()QueryNodeProcessorPipeline.listIterator(int index) QueryNodeProcessorPipeline.subList(int fromIndex, int toIndex) Methods in org.apache.lucene.queryparser.flexible.core.processors with parameters of type QueryNodeProcessorModifier and TypeMethodDescriptionvoidQueryNodeProcessorPipeline.add(int index, QueryNodeProcessor processor) booleanQueryNodeProcessorPipeline.add(QueryNodeProcessor processor) QueryNodeProcessorPipeline.set(int index, QueryNodeProcessor processor) Method parameters in org.apache.lucene.queryparser.flexible.core.processors with type arguments of type QueryNodeProcessorModifier and TypeMethodDescriptionbooleanQueryNodeProcessorPipeline.addAll(int index, Collection<? extends QueryNodeProcessor> c) booleanQueryNodeProcessorPipeline.addAll(Collection<? extends QueryNodeProcessor> c) -
Uses of QueryNodeProcessor in org.apache.lucene.queryparser.flexible.precedence.processors
Classes in org.apache.lucene.queryparser.flexible.precedence.processors that implement QueryNodeProcessorModifier and TypeClassDescriptionclassThis processor is used to apply the correctModifierQueryNodetoBooleanQueryNodes children.classThis processor pipeline extendsStandardQueryNodeProcessorPipelineand enables boolean precedence on it. -
Uses of QueryNodeProcessor in org.apache.lucene.queryparser.flexible.standard.processors
Classes in org.apache.lucene.queryparser.flexible.standard.processors that implement QueryNodeProcessorModifier and TypeClassDescriptionclassThis processor verifies ifStandardQueryConfigHandler.ConfigurationKeys.ALLOW_LEADING_WILDCARDis defined in theQueryConfigHandler.classThis processor verifies ifStandardQueryConfigHandler.ConfigurationKeys.ANALYZERis defined in theQueryConfigHandler.classThis processor is used to apply the correctModifierQueryNodetoBooleanQueryNodes children.classThis processor removes everyBooleanQueryNodethat contains only one child and returns this child.classThis processor iterates the query node tree looking for everyFieldableNodethat hasStandardQueryConfigHandler.ConfigurationKeys.BOOSTin its config.classThis processor verifies ifStandardQueryConfigHandler.ConfigurationKeys.PHRASE_SLOPis defined in theQueryConfigHandler.classThis 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.classThis processor makes sure thatStandardQueryConfigHandler.ConfigurationKeys.ANALYZERis defined in theQueryConfigHandlerand injects this analyzer intoIntervalQueryNodes.classThis processor converts everyWildcardQueryNodethat is "*:*" toMatchAllDocsQueryNode.classThis processor is used to expand terms so the query looks for the same term in different fields.classThis processor instates the defaultMultiTermQuery.RewriteMethod,MultiTermQuery.CONSTANT_SCORE_BLENDED_REWRITE, for multi-term query nodes.classProcessesTermRangeQuerys with open ranges.classThis processor removes invalidSlopQueryNodeobjects in the query node tree.classThis processor is used to convertFieldQueryNodes toPointRangeQueryNodes.classThis processor is used to convertTermRangeQueryNodes toPointRangeQueryNodes.classProcessor for Regexp queries.classThis processor removes everyQueryNodethat is not a leaf and has not children.classThis pipeline has all the processors needed to process a query node tree, generated byStandardSyntaxParser, already assembled.classThis processors processTermRangeQueryNodes.classTheStandardSyntaxParsercreatesPrefixWildcardQueryNodenodes which have values containing the prefixed wildcard.