Uses of Interface
org.apache.lucene.queryparser.flexible.core.processors.QueryNodeProcessor
-
Packages that use QueryNodeProcessor Package Description org.apache.lucene.queryparser.flexible.core Core classes of the flexible query parser framework.org.apache.lucene.queryparser.flexible.core.processors Interfaces and implementations used by query node processorsorg.apache.lucene.queryparser.flexible.precedence.processors Lucene Precedence Query Parser Processorsorg.apache.lucene.queryparser.flexible.standard.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 QueryNodeProcessor Modifier and Type Method Description QueryNodeProcessorQueryParserHelper. 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 QueryNodeProcessor Modifier and Type Method Description voidQueryParserHelper. 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 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.flexible.core.processors
Classes in org.apache.lucene.queryparser.flexible.core.processors that implement QueryNodeProcessor Modifier and Type Class Description classNoChildOptimizationQueryNodeProcessorANoChildOptimizationQueryNodeProcessorremoves every BooleanQueryNode, BoostQueryNode, TokenizedPhraseQueryNode or ModifierQueryNode that do not have a valid children.classQueryNodeProcessorImplThis is a default implementation for theQueryNodeProcessorinterface, it's an abstract class, so it should be extended by classes that want to process aQueryNodetree.classQueryNodeProcessorPipelineAQueryNodeProcessorPipelineclass should be used to build a query node processor pipeline.classRemoveDeletedQueryNodesProcessorAQueryNodeProcessorPipelineclass removes every instance ofDeletedQueryNodefrom a query node tree.Methods in org.apache.lucene.queryparser.flexible.core.processors that return QueryNodeProcessor Modifier and Type Method Description QueryNodeProcessorQueryNodeProcessorPipeline. get(int index)QueryNodeProcessorQueryNodeProcessorPipeline. remove(int index)QueryNodeProcessorQueryNodeProcessorPipeline. set(int index, QueryNodeProcessor processor)Methods in org.apache.lucene.queryparser.flexible.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.flexible.core.processors with parameters of type QueryNodeProcessor Modifier and Type Method Description voidQueryNodeProcessorPipeline. add(int index, QueryNodeProcessor processor)booleanQueryNodeProcessorPipeline. add(QueryNodeProcessor processor)QueryNodeProcessorQueryNodeProcessorPipeline. set(int index, QueryNodeProcessor processor)Method parameters in org.apache.lucene.queryparser.flexible.core.processors with type arguments of type QueryNodeProcessor Modifier and Type Method Description booleanQueryNodeProcessorPipeline. 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 QueryNodeProcessor Modifier and Type Class Description classBooleanModifiersQueryNodeProcessorThis processor is used to apply the correctModifierQueryNodetoBooleanQueryNodes children.classPrecedenceQueryNodeProcessorPipelineThis 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 QueryNodeProcessor Modifier and Type Class Description classAllowLeadingWildcardProcessorThis processor verifies ifStandardQueryConfigHandler.ConfigurationKeys.ALLOW_LEADING_WILDCARDis defined in theQueryConfigHandler.classAnalyzerQueryNodeProcessorThis processor verifies ifStandardQueryConfigHandler.ConfigurationKeys.ANALYZERis defined in theQueryConfigHandler.classBooleanQuery2ModifierNodeProcessorThis processor is used to apply the correctModifierQueryNodetoBooleanQueryNodes children.classBooleanSingleChildOptimizationQueryNodeProcessorThis processor removes everyBooleanQueryNodethat contains only one child and returns this child.classBoostQueryNodeProcessorThis processor iterates the query node tree looking for everyFieldableNodethat hasStandardQueryConfigHandler.ConfigurationKeys.BOOSTin its config.classDefaultPhraseSlopQueryNodeProcessorThis processor verifies ifStandardQueryConfigHandler.ConfigurationKeys.PHRASE_SLOPis defined in theQueryConfigHandler.classFuzzyQueryNodeProcessorThis 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.classIntervalQueryNodeProcessorThis processor makes sure thatStandardQueryConfigHandler.ConfigurationKeys.ANALYZERis defined in theQueryConfigHandlerand injects this analyzer intoIntervalQueryNodes.classMatchAllDocsQueryNodeProcessorThis processor converts everyWildcardQueryNodethat is "*:*" toMatchAllDocsQueryNode.classMultiFieldQueryNodeProcessorThis processor is used to expand terms so the query looks for the same term in different fields.classMultiTermRewriteMethodProcessorThis processor instates the defaultMultiTermQuery.RewriteMethod,MultiTermQuery.CONSTANT_SCORE_BLENDED_REWRITE, for multi-term query nodes.classOpenRangeQueryNodeProcessorProcessesTermRangeQuerys with open ranges.classPhraseSlopQueryNodeProcessorThis processor removes invalidSlopQueryNodeobjects in the query node tree.classPointQueryNodeProcessorThis processor is used to convertFieldQueryNodes toPointRangeQueryNodes.classPointRangeQueryNodeProcessorThis processor is used to convertTermRangeQueryNodes toPointRangeQueryNodes.classRegexpQueryNodeProcessorProcessor for Regexp queries.classRemoveEmptyNonLeafQueryNodeProcessorThis processor removes everyQueryNodethat is not a leaf and has not children.classStandardQueryNodeProcessorPipelineThis pipeline has all the processors needed to process a query node tree, generated byStandardSyntaxParser, already assembled.classTermRangeQueryNodeProcessorThis processors processTermRangeQueryNodes.classWildcardQueryNodeProcessorTheStandardSyntaxParsercreatesPrefixWildcardQueryNodenodes which have values containing the prefixed wildcard.
-