Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class FieldConfig

    This class represents a field configuration.

    Inheritance
    object
    AbstractQueryConfig
    FieldConfig
    Inherited Members
    AbstractQueryConfig.TryGetValue<T>(ConfigurationKey<T>, out T)
    AbstractQueryConfig.Get<T>(ConfigurationKey<T>)
    AbstractQueryConfig.Has<T>(ConfigurationKey<T>)
    AbstractQueryConfig.Set<T>(ConfigurationKey<T>, T)
    AbstractQueryConfig.Unset<T>(ConfigurationKey<T>)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Lucene.Net.QueryParsers.Flexible.Core.Config
    Assembly: Lucene.Net.QueryParser.dll
    Syntax
    public class FieldConfig : AbstractQueryConfig

    Constructors

    FieldConfig(string)

    Constructs a FieldConfig

    Declaration
    public FieldConfig(string fieldName)
    Parameters
    Type Name Description
    string fieldName

    the field name, it cannot be null

    Exceptions
    Type Condition
    ArgumentException

    if the field name is null

    Properties

    Field

    Gets the field name this configuration represents.

    Declaration
    public virtual string Field { get; }
    Property Value
    Type Description
    string

    Methods

    ToString()

    Returns a string that represents the current object.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    A string that represents the current object.

    Overrides
    object.ToString()
    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.