Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class 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.

    Inheritance
    object
    NumericFieldConfigListener
    Implements
    IFieldConfigListener
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Lucene.Net.QueryParsers.Flexible.Standard.Config
    Assembly: Lucene.Net.QueryParser.dll
    Syntax
    public class NumericFieldConfigListener : IFieldConfigListener

    Constructors

    NumericFieldConfigListener(QueryConfigHandler)

    Constructs a NumericFieldConfigListener object using the given QueryConfigHandler.

    Declaration
    public NumericFieldConfigListener(QueryConfigHandler config)
    Parameters
    Type Name Description
    QueryConfigHandler config

    the QueryConfigHandler it will listen too

    See Also
    NumericConfig
    QueryConfigHandler
    NUMERIC_CONFIG
    NUMERIC_CONFIG_MAP

    Methods

    BuildFieldConfig(FieldConfig)

    This method is called every time a field configuration is requested.

    Declaration
    public virtual void BuildFieldConfig(FieldConfig fieldConfig)
    Parameters
    Type Name Description
    FieldConfig fieldConfig

    the field configuration requested, should never be null

    See Also
    NumericConfig
    QueryConfigHandler
    NUMERIC_CONFIG
    NUMERIC_CONFIG_MAP

    Implements

    IFieldConfigListener

    See Also

    NumericConfig
    QueryConfigHandler
    NUMERIC_CONFIG
    NUMERIC_CONFIG_MAP
    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.