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.BOOSTto the equivalentFieldConfigbased 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_RESOLUTIONto the equivalentFieldConfigbased on a defined map: fieldName ->DateTools.Resolutionstored inStandardQueryConfigHandler.ConfigurationKeys.FIELD_DATE_RESOLUTION_MAP.FuzzyConfig Configuration parameters forFuzzyQuerysNumberDateFormat PointsConfig This class holds the configuration used to parse numeric queries and createPointValuesqueries.PointsConfigListener This listener is used to listen toFieldConfigrequests inQueryConfigHandlerand addStandardQueryConfigHandler.ConfigurationKeys.POINTS_CONFIGbased on theStandardQueryConfigHandler.ConfigurationKeys.POINTS_CONFIG_MAPset in theQueryConfigHandler.StandardQueryConfigHandler This query configuration handler is used for almost every processor defined in theStandardQueryNodeProcessorPipelineprocessor pipeline.StandardQueryConfigHandler.ConfigurationKeys Class holding keys for StandardQueryNodeProcessorPipeline options. -
Enum Summary Enum Description StandardQueryConfigHandler.Operator Boolean Operator: AND or OR