• API

    Show / Hide Table of Contents

    Class FieldConfig

    This class represents a field configuration.

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

    Constructors

    | Improve this Doc View Source

    FieldConfig(String)

    Constructs a FieldConfig

    Declaration
    public FieldConfig(string fieldName)
    Parameters
    Type Name Description
    System.String fieldName

    the field name, it cannot be null

    Exceptions
    Type Condition
    System.ArgumentException

    if the field name is null

    Properties

    | Improve this Doc View Source

    Field

    Gets the field name this configuration represents.

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

    Methods

    | Improve this Doc View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.Object.ToString()
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)