Package org.apache.lucene.queryparser.flexible.standard.config
package org.apache.lucene.queryparser.flexible.standard.config
Standard Lucene Query Configuration.
Standard Lucene Query Configuration
The package org.apache.lucene.queryparser.flexible.standard.config contains the Lucene query configuration handler (StandardQueryConfigHandler). This configuration handler reproduces almost everything that could be set on the old query parser.
StandardQueryConfigHandler is the class that should be used to configure the StandardQueryNodeProcessorPipeline.
-
ClassDescriptionThis listener listens for every field configuration request and assign a
StandardQueryConfigHandler.ConfigurationKeys.BOOST
to the equivalentFieldConfig
based on a defined map: fieldName -> boostValue stored inStandardQueryConfigHandler.ConfigurationKeys.FIELD_BOOST_MAP
.This listener listens for every field configuration request and assign aStandardQueryConfigHandler.ConfigurationKeys.DATE_RESOLUTION
to the equivalentFieldConfig
based on a defined map: fieldName ->DateTools.Resolution
stored inStandardQueryConfigHandler.ConfigurationKeys.FIELD_DATE_RESOLUTION_MAP
.Configuration parameters forFuzzyQuery
sThis class holds the configuration used to parse numeric queries and createNumericRangeQuery
s.This listener is used to listen toFieldConfig
requests inQueryConfigHandler
and addStandardQueryConfigHandler.ConfigurationKeys.NUMERIC_CONFIG
based on theStandardQueryConfigHandler.ConfigurationKeys.NUMERIC_CONFIG_MAP
set in theQueryConfigHandler
.This query configuration handler is used for almost every processor defined in theStandardQueryNodeProcessorPipeline
processor pipeline.Class holding keys for StandardQueryNodeProcessorPipeline options.Boolean Operator: AND or OR