Fork me on GitHub
  • API

    Show / Hide Table of Contents

    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 long into date strings and vice-versa. It uses the given dateFormat and locale to parse and format dates, but before, it converts long to DateTime objects or vice-versa.

    The long value the dates are parsed into and out of is specified by changing NumericRepresentation. The default value is Lucene.Net.Documents.NumericRepresentation.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

    Back to top Copyright © 2024 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.