Show / Hide Table of Contents

    Namespace Lucene.Net.QueryParsers.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.

    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 -> stored in FIELD_DATE_RESOLUTION_MAP.

    FuzzyConfig

    Configuration parameters for s

    NumberDateFormat

    This parses into date strings and vice-versa. It uses the given dateFormat and locale to parse and format dates, but before, it converts to objects or vice-versa.

    Note that the value the dates are parsed into and out of represent the number of milliseconds since January 1, 1970 0:00:00, also known as the "epoch".

    NumericConfig

    This class holds the configuration used to parse numeric queries and create s.

    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

    • Improve this Doc
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)