Fork me on GitHub
  • API

    Show / Hide Table of Contents

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

    Inheritance
    object
    FieldBoostMapFCListener
    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 FieldBoostMapFCListener : IFieldConfigListener

    Constructors

    FieldBoostMapFCListener(QueryConfigHandler)

    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.

    Declaration
    public FieldBoostMapFCListener(QueryConfigHandler config)
    Parameters
    Type Name Description
    QueryConfigHandler config
    See Also
    FIELD_BOOST_MAP
    BOOST
    FieldConfig
    IFieldConfigListener

    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
    FIELD_BOOST_MAP
    BOOST
    FieldConfig
    IFieldConfigListener

    Implements

    IFieldConfigListener

    See Also

    FIELD_BOOST_MAP
    BOOST
    FieldConfig
    IFieldConfigListener
    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.