Search Results for

    Show / Hide Table of Contents

    Class NestedPropertyDescriptor<TParent, TChild>

    A specialised version of the IObjectProperty datatype that allows arrays of objects to be indexed in a way that they can be queried independently of each other, using nested queries and aggregations.

    Inheritance
    object
    DescriptorBase<NestedPropertyDescriptor<TParent, TChild>, INestedProperty>
    PropertyDescriptorBase<NestedPropertyDescriptor<TParent, TChild>, INestedProperty, TParent>
    CorePropertyDescriptorBase<NestedPropertyDescriptor<TParent, TChild>, INestedProperty, TParent>
    ObjectPropertyDescriptorBase<NestedPropertyDescriptor<TParent, TChild>, INestedProperty, TParent, TChild>
    NestedPropertyDescriptor<TParent, TChild>
    Implements
    IDescriptor
    INestedProperty
    IObjectProperty
    ICoreProperty
    IProperty
    IFieldMapping
    Inherited Members
    ObjectPropertyDescriptorBase<NestedPropertyDescriptor<TParent, TChild>, INestedProperty, TParent, TChild>.Dynamic(Union<bool, DynamicMapping>)
    ObjectPropertyDescriptorBase<NestedPropertyDescriptor<TParent, TChild>, INestedProperty, TParent, TChild>.Dynamic(bool)
    ObjectPropertyDescriptorBase<NestedPropertyDescriptor<TParent, TChild>, INestedProperty, TParent, TChild>.Enabled(bool?)
    ObjectPropertyDescriptorBase<NestedPropertyDescriptor<TParent, TChild>, INestedProperty, TParent, TChild>.Properties(Func<PropertiesDescriptor<TChild>, IPromise<IProperties>>)
    ObjectPropertyDescriptorBase<NestedPropertyDescriptor<TParent, TChild>, INestedProperty, TParent, TChild>.AutoMap(IPropertyVisitor, int)
    ObjectPropertyDescriptorBase<NestedPropertyDescriptor<TParent, TChild>, INestedProperty, TParent, TChild>.AutoMap(int)
    CorePropertyDescriptorBase<NestedPropertyDescriptor<TParent, TChild>, INestedProperty, TParent>.Store(bool?)
    CorePropertyDescriptorBase<NestedPropertyDescriptor<TParent, TChild>, INestedProperty, TParent>.Fields(Func<PropertiesDescriptor<TParent>, IPromise<IProperties>>)
    CorePropertyDescriptorBase<NestedPropertyDescriptor<TParent, TChild>, INestedProperty, TParent>.Similarity(string)
    CorePropertyDescriptorBase<NestedPropertyDescriptor<TParent, TChild>, INestedProperty, TParent>.CopyTo(Func<FieldsDescriptor<TParent>, IPromise<Fields>>)
    PropertyDescriptorBase<NestedPropertyDescriptor<TParent, TChild>, INestedProperty, TParent>.DebugDisplay
    PropertyDescriptorBase<NestedPropertyDescriptor<TParent, TChild>, INestedProperty, TParent>.TypeOverride
    PropertyDescriptorBase<NestedPropertyDescriptor<TParent, TChild>, INestedProperty, TParent>.Name(PropertyName)
    PropertyDescriptorBase<NestedPropertyDescriptor<TParent, TChild>, INestedProperty, TParent>.Name<TValue>(Expression<Func<TParent, TValue>>)
    PropertyDescriptorBase<NestedPropertyDescriptor<TParent, TChild>, INestedProperty, TParent>.LocalMetadata(Func<FluentDictionary<string, object>, FluentDictionary<string, object>>)
    PropertyDescriptorBase<NestedPropertyDescriptor<TParent, TChild>, INestedProperty, TParent>.Meta(Func<FluentDictionary<string, string>, FluentDictionary<string, string>>)
    DescriptorBase<NestedPropertyDescriptor<TParent, TChild>, INestedProperty>.Self
    DescriptorBase<NestedPropertyDescriptor<TParent, TChild>, INestedProperty>.Assign<TValue>(TValue, Action<INestedProperty, 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 NestedPropertyDescriptor<TParent, TChild> : ObjectPropertyDescriptorBase<NestedPropertyDescriptor<TParent, TChild>, INestedProperty, TParent, TChild>, IDescriptor, INestedProperty, IObjectProperty, ICoreProperty, IProperty, IFieldMapping where TParent : class where TChild : class
    Type Parameters
    Name Description
    TParent
    TChild

    Constructors

    | Edit this page View Source

    NestedPropertyDescriptor()

    Declaration
    public NestedPropertyDescriptor()

    Methods

    | Edit this page View Source

    IncludeInParent(bool?)

    Whether to also index nested objects as flattened values on the parent document.

    Declaration
    public NestedPropertyDescriptor<TParent, TChild> IncludeInParent(bool? includeInParent = true)
    Parameters
    Type Name Description
    bool? includeInParent
    Returns
    Type Description
    NestedPropertyDescriptor<TParent, TChild>
    | Edit this page View Source

    IncludeInRoot(bool?)

    Whether to also index nested objects as flattened values on the root document.

    Declaration
    public NestedPropertyDescriptor<TParent, TChild> IncludeInRoot(bool? includeInRoot = true)
    Parameters
    Type Name Description
    bool? includeInRoot
    Returns
    Type Description
    NestedPropertyDescriptor<TParent, TChild>

    Implements

    IDescriptor
    INestedProperty
    IObjectProperty
    ICoreProperty
    IProperty
    IFieldMapping

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Constructors
      • NestedPropertyDescriptor()
    • Methods
      • IncludeInParent(bool?)
      • IncludeInRoot(bool?)
    • Implements
    • Extension Methods
    Back to top Generated by DocFX