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.
-
Class Summary Class Description FieldBoostMapFCListener This listener listens for every field configuration request and assign aStandardQueryConfigHandler.ConfigurationKeys.BOOST
to the equivalentFieldConfig
based on a defined map: fieldName -> boostValue stored inStandardQueryConfigHandler.ConfigurationKeys.FIELD_BOOST_MAP
.FieldDateResolutionFCListener 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
.FuzzyConfig Configuration parameters forFuzzyQuery
sNumberDateFormat ThisFormat
parsesLong
into date strings and vice-versa.NumericConfig This class holds the configuration used to parse numeric queries and createNumericRangeQuery
s.NumericFieldConfigListener This listener is used to listen toFieldConfig
requests inQueryConfigHandler
and addStandardQueryConfigHandler.ConfigurationKeys.NUMERIC_CONFIG
based on theStandardQueryConfigHandler.ConfigurationKeys.NUMERIC_CONFIG_MAP
set in theQueryConfigHandler
.StandardQueryConfigHandler This query configuration handler is used for almost every processor defined in theStandardQueryNodeProcessorPipeline
processor pipeline.StandardQueryConfigHandler.ConfigurationKeys Class holding keys for StandardQueryNodeProcessorPipeline options. -
Enum Summary Enum Description StandardQueryConfigHandler.Operator Boolean Operator: AND or OR