Namespace Lucene.Net.QueryParsers.Flexible.Standard.Config
Standard Lucene Query Configuration.
Standard Lucene Query Configuration
The namespace Lucene.Net.QueryParsers.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.
Classes
ConfigurationKeys
Class holding keys for StandardQueryNodeProcessorPipeline options.
FieldBoostMapFCListener
This listener listens for every field configuration request and assign a BOOST to the equivalent FieldConfig based on a defined map: fieldName -> boostValue stored in FIELD_BOOST_MAP.
FieldDateResolutionFCListener
This listener listens for every field configuration request and assign a DATE_RESOLUTION to the equivalent FieldConfig based on a defined map: fieldName -> Lucene.Net.Documents.DateResolution stored in FIELD_DATE_RESOLUTION_MAP.
FuzzyConfig
Configuration parameters for Lucene.Net.Search.FuzzyQuerys
NumberDateFormat
This Lucene.Net.Util.NumberFormat parses System.Int64 into date strings and vice-versa. It
uses the given dateFormat
and System.Globalization.CultureInfo to parse and format dates, but before, it
converts System.Int64 to System.DateTime objects or vice-versa.
The System.Int64 value the dates are parsed into and out of is specified by changing NumericRepresentation. The default value is UNIX_TIME_MILLISECONDS, which is the number of milliseconds since January 1, 1970 0:00:00 UTC, also known as the "epoch".
NumericConfig
This class holds the configuration used to parse numeric queries and create Lucene.Net.Search.NumericRangeQuerys.
NumericFieldConfigListener
This listener is used to listen to FieldConfig requests in QueryConfigHandler and add NUMERIC_CONFIG based on the NUMERIC_CONFIG_MAP set in the QueryConfigHandler.
StandardQueryConfigHandler
This query configuration handler is used for almost every processor defined in the StandardQueryNodeProcessorPipeline processor pipeline. It holds configuration methods that reproduce the configuration methods that could be set on the old lucene 2.4 QueryParser class.
Enums
DateFormat
LUCENENET specific enum for mimicking the Java DateFormat
StandardQueryConfigHandler.Operator
Boolean Operator: AND or OR