Package | Description |
---|---|
org.apache.lucene.queryParser.core |
Contains the core classes of the flexible query parser framework
Flexible Query Parser
This package contains the necessary classes to implement a query parser.
|
org.apache.lucene.queryParser.core.processors |
Interfaces and implementations used by query node processors
Query Node Processors
The package org.apache.lucene.queryParser.processors contains interfaces
that should be implemented by every query node processor.
|
org.apache.lucene.queryParser.precedence.processors |
This package contains the processors used by Precedence Query Parser
Lucene Precedence Query Parser Processors
This package contains the 2
QueryNodeProcessor s used by
PrecedenceQueryParser . |
org.apache.lucene.queryParser.standard |
Contains the implementation of the Lucene query parser using the flexible query parser frameworks
Lucene Flexible Query Parser Implementation
The old Lucene query parser used to have only one class that performed
all the parsing operations.
|
org.apache.lucene.queryParser.standard.config |
Standard Lucene Query Configuration
The package org.apache.lucene.queryParser.standard.config contains the Lucene
query configuration handler (StandardQueryConfigHandler).
|
org.apache.lucene.queryParser.standard.processors |
Lucene Query Node Processors
The package org.apache.lucene.queryParser.standard.processors contains every processor needed to assembly a pipeline
that modifies the query node tree according to the actual Lucene queries.
|
Modifier and Type | Method and Description |
---|---|
QueryConfigHandler |
QueryParserHelper.getQueryConfigHandler()
Returns the query configuration handler, which is used during the query
node tree processing.
|
Modifier and Type | Method and Description |
---|---|
void |
QueryParserHelper.setQueryConfigHandler(QueryConfigHandler config)
Sets the query configuration handler that will be used during query
processing.
|
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
QueryConfigHandler |
QueryNodeProcessorPipeline.getQueryConfigHandler()
For reference about this method check:
QueryNodeProcessor.getQueryConfigHandler() . |
QueryConfigHandler |
QueryNodeProcessorImpl.getQueryConfigHandler()
For reference about this method check:
QueryNodeProcessor.getQueryConfigHandler() . |
QueryConfigHandler |
QueryNodeProcessor.getQueryConfigHandler()
Returns the
QueryConfigHandler associated to the query tree if any,
otherwise it returns null |
Modifier and Type | Method and Description |
---|---|
void |
QueryNodeProcessorPipeline.setQueryConfigHandler(QueryConfigHandler queryConfigHandler)
For reference about this method check:
QueryNodeProcessor.setQueryConfigHandler(QueryConfigHandler) . |
void |
QueryNodeProcessorImpl.setQueryConfigHandler(QueryConfigHandler queryConfigHandler)
For reference about this method check:
QueryNodeProcessor.setQueryConfigHandler(QueryConfigHandler) . |
void |
QueryNodeProcessor.setQueryConfigHandler(QueryConfigHandler queryConfigHandler)
Sets the
QueryConfigHandler associated to the query tree. |
Constructor and Description |
---|
QueryNodeProcessorImpl(QueryConfigHandler queryConfigHandler) |
QueryNodeProcessorPipeline(QueryConfigHandler queryConfigHandler)
Constructs with a
QueryConfigHandler object. |
Constructor and Description |
---|
PrecedenceQueryNodeProcessorPipeline(QueryConfigHandler queryConfig) |
Modifier and Type | Method and Description |
---|---|
QueryConfigHandler |
QueryParserWrapper.getQueryConfigHandler()
Deprecated.
Returns the query config handler used by this query parser
|
Modifier and Type | Class and Description |
---|---|
class |
StandardQueryConfigHandler
This query configuration handler is used for almost every processor defined
in the
StandardQueryNodeProcessorPipeline processor pipeline. |
Constructor and Description |
---|
FieldBoostMapFCListener(QueryConfigHandler config) |
FieldDateResolutionFCListener(QueryConfigHandler config) |
NumericFieldConfigListener(QueryConfigHandler config)
Construcs a
NumericFieldConfigListener object using the given QueryConfigHandler . |
Modifier and Type | Method and Description |
---|---|
QueryConfigHandler |
GroupQueryNodeProcessor.getQueryConfigHandler()
Deprecated.
|
QueryConfigHandler |
BooleanQuery2ModifierNodeProcessor.getQueryConfigHandler() |
Modifier and Type | Method and Description |
---|---|
void |
GroupQueryNodeProcessor.setQueryConfigHandler(QueryConfigHandler queryConfigHandler)
Deprecated.
|
void |
BooleanQuery2ModifierNodeProcessor.setQueryConfigHandler(QueryConfigHandler queryConfigHandler) |
Constructor and Description |
---|
StandardQueryNodeProcessorPipeline(QueryConfigHandler queryConfig) |