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