Search Results for

    Show / Hide Table of Contents

    Class GenericPropertyDescriptor<T>

    A generic property to map properties that may be of different types. Not all methods are valid for all types.

    Inheritance
    object
    DescriptorBase<GenericPropertyDescriptor<T>, IGenericProperty>
    PropertyDescriptorBase<GenericPropertyDescriptor<T>, IGenericProperty, T>
    CorePropertyDescriptorBase<GenericPropertyDescriptor<T>, IGenericProperty, T>
    DocValuesPropertyDescriptorBase<GenericPropertyDescriptor<T>, IGenericProperty, T>
    GenericPropertyDescriptor<T>
    Implements
    IDescriptor
    IGenericProperty
    IDocValuesProperty
    ICoreProperty
    IProperty
    IFieldMapping
    Inherited Members
    DocValuesPropertyDescriptorBase<GenericPropertyDescriptor<T>, IGenericProperty, T>.DocValues(bool?)
    CorePropertyDescriptorBase<GenericPropertyDescriptor<T>, IGenericProperty, T>.Store(bool?)
    CorePropertyDescriptorBase<GenericPropertyDescriptor<T>, IGenericProperty, T>.Fields(Func<PropertiesDescriptor<T>, IPromise<IProperties>>)
    CorePropertyDescriptorBase<GenericPropertyDescriptor<T>, IGenericProperty, T>.Similarity(string)
    CorePropertyDescriptorBase<GenericPropertyDescriptor<T>, IGenericProperty, T>.CopyTo(Func<FieldsDescriptor<T>, IPromise<Fields>>)
    PropertyDescriptorBase<GenericPropertyDescriptor<T>, IGenericProperty, T>.DebugDisplay
    PropertyDescriptorBase<GenericPropertyDescriptor<T>, IGenericProperty, T>.TypeOverride
    PropertyDescriptorBase<GenericPropertyDescriptor<T>, IGenericProperty, T>.Name(PropertyName)
    PropertyDescriptorBase<GenericPropertyDescriptor<T>, IGenericProperty, T>.Name<TValue>(Expression<Func<T, TValue>>)
    PropertyDescriptorBase<GenericPropertyDescriptor<T>, IGenericProperty, T>.LocalMetadata(Func<FluentDictionary<string, object>, FluentDictionary<string, object>>)
    PropertyDescriptorBase<GenericPropertyDescriptor<T>, IGenericProperty, T>.Meta(Func<FluentDictionary<string, string>, FluentDictionary<string, string>>)
    DescriptorBase<GenericPropertyDescriptor<T>, IGenericProperty>.Self
    DescriptorBase<GenericPropertyDescriptor<T>, IGenericProperty>.Assign<TValue>(TValue, Action<IGenericProperty, TValue>)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: OpenSearch.Client
    Assembly: OpenSearch.Client.dll
    Syntax
    public class GenericPropertyDescriptor<T> : DocValuesPropertyDescriptorBase<GenericPropertyDescriptor<T>, IGenericProperty, T>, IDescriptor, IGenericProperty, IDocValuesProperty, ICoreProperty, IProperty, IFieldMapping where T : class
    Type Parameters
    Name Description
    T

    Constructors

    | Edit this page View Source

    GenericPropertyDescriptor()

    Declaration
    public GenericPropertyDescriptor()

    Methods

    | Edit this page View Source

    Analyzer(string)

    Declaration
    public GenericPropertyDescriptor<T> Analyzer(string analyzer)
    Parameters
    Type Name Description
    string analyzer
    Returns
    Type Description
    GenericPropertyDescriptor<T>
    | Edit this page View Source

    Boost(double?)

    Declaration
    public GenericPropertyDescriptor<T> Boost(double? boost)
    Parameters
    Type Name Description
    double? boost
    Returns
    Type Description
    GenericPropertyDescriptor<T>
    | Edit this page View Source

    Fielddata(Func<StringFielddataDescriptor, IStringFielddata>)

    Declaration
    public GenericPropertyDescriptor<T> Fielddata(Func<StringFielddataDescriptor, IStringFielddata> selector)
    Parameters
    Type Name Description
    Func<StringFielddataDescriptor, IStringFielddata> selector
    Returns
    Type Description
    GenericPropertyDescriptor<T>
    | Edit this page View Source

    IgnoreAbove(int?)

    Declaration
    public GenericPropertyDescriptor<T> IgnoreAbove(int? ignoreAbove)
    Parameters
    Type Name Description
    int? ignoreAbove
    Returns
    Type Description
    GenericPropertyDescriptor<T>
    | Edit this page View Source

    Index(bool?)

    Declaration
    public GenericPropertyDescriptor<T> Index(bool? index = true)
    Parameters
    Type Name Description
    bool? index
    Returns
    Type Description
    GenericPropertyDescriptor<T>
    | Edit this page View Source

    IndexOptions(IndexOptions?)

    Declaration
    public GenericPropertyDescriptor<T> IndexOptions(IndexOptions? indexOptions)
    Parameters
    Type Name Description
    IndexOptions? indexOptions
    Returns
    Type Description
    GenericPropertyDescriptor<T>
    | Edit this page View Source

    Norms(bool?)

    Declaration
    public GenericPropertyDescriptor<T> Norms(bool? enabled = true)
    Parameters
    Type Name Description
    bool? enabled
    Returns
    Type Description
    GenericPropertyDescriptor<T>
    | Edit this page View Source

    NullValue(string)

    Declaration
    public GenericPropertyDescriptor<T> NullValue(string nullValue)
    Parameters
    Type Name Description
    string nullValue
    Returns
    Type Description
    GenericPropertyDescriptor<T>
    | Edit this page View Source

    PositionIncrementGap(int?)

    Declaration
    public GenericPropertyDescriptor<T> PositionIncrementGap(int? positionIncrementGap)
    Parameters
    Type Name Description
    int? positionIncrementGap
    Returns
    Type Description
    GenericPropertyDescriptor<T>
    | Edit this page View Source

    SearchAnalyzer(string)

    Declaration
    public GenericPropertyDescriptor<T> SearchAnalyzer(string searchAnalyzer)
    Parameters
    Type Name Description
    string searchAnalyzer
    Returns
    Type Description
    GenericPropertyDescriptor<T>
    | Edit this page View Source

    TermVector(TermVectorOption?)

    Declaration
    public GenericPropertyDescriptor<T> TermVector(TermVectorOption? termVector)
    Parameters
    Type Name Description
    TermVectorOption? termVector
    Returns
    Type Description
    GenericPropertyDescriptor<T>
    | Edit this page View Source

    Type(string)

    Declaration
    public GenericPropertyDescriptor<T> Type(string type)
    Parameters
    Type Name Description
    string type
    Returns
    Type Description
    GenericPropertyDescriptor<T>

    Implements

    IDescriptor
    IGenericProperty
    IDocValuesProperty
    ICoreProperty
    IProperty
    IFieldMapping

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Constructors
      • GenericPropertyDescriptor()
    • Methods
      • Analyzer(string)
      • Boost(double?)
      • Fielddata(Func<StringFielddataDescriptor, IStringFielddata>)
      • IgnoreAbove(int?)
      • Index(bool?)
      • IndexOptions(IndexOptions?)
      • Norms(bool?)
      • NullValue(string)
      • PositionIncrementGap(int?)
      • SearchAnalyzer(string)
      • TermVector(TermVectorOption?)
      • Type(string)
    • Implements
    • Extension Methods
    Back to top Generated by DocFX