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 PointsConfig This class holds the configuration used to parse numeric queries and createPointValues
queries.PointsConfigListener This listener is used to listen toFieldConfig
requests inQueryConfigHandler
and addStandardQueryConfigHandler.ConfigurationKeys.POINTS_CONFIG
based on theStandardQueryConfigHandler.ConfigurationKeys.POINTS_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