Search Results for

    Show / Hide Table of Contents

    Class HasParentQueryDescriptor<T>

    Inheritance
    object
    DescriptorBase<HasParentQueryDescriptor<T>, IHasParentQuery>
    QueryDescriptorBase<HasParentQueryDescriptor<T>, IHasParentQuery>
    HasParentQueryDescriptor<T>
    Implements
    IDescriptor
    IHasParentQuery
    IQuery
    Inherited Members
    QueryDescriptorBase<HasParentQueryDescriptor<T>, IHasParentQuery>.Conditionless
    QueryDescriptorBase<HasParentQueryDescriptor<T>, IHasParentQuery>.Name(string)
    QueryDescriptorBase<HasParentQueryDescriptor<T>, IHasParentQuery>.Boost(double?)
    QueryDescriptorBase<HasParentQueryDescriptor<T>, IHasParentQuery>.Verbatim(bool)
    QueryDescriptorBase<HasParentQueryDescriptor<T>, IHasParentQuery>.Strict(bool)
    DescriptorBase<HasParentQueryDescriptor<T>, IHasParentQuery>.Self
    DescriptorBase<HasParentQueryDescriptor<T>, IHasParentQuery>.Assign<TValue>(TValue, Action<IHasParentQuery, 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 HasParentQueryDescriptor<T> : QueryDescriptorBase<HasParentQueryDescriptor<T>, IHasParentQuery>, IDescriptor, IHasParentQuery, IQuery where T : class
    Type Parameters
    Name Description
    T

    Constructors

    | Edit this page View Source

    HasParentQueryDescriptor()

    Declaration
    public HasParentQueryDescriptor()

    Properties

    | Edit this page View Source

    Conditionless

    Whether the query is conditionless. A conditionless query is not serialized as part of the request sent to OpenSearch.

    Declaration
    protected override bool Conditionless { get; }
    Property Value
    Type Description
    bool
    Overrides
    QueryDescriptorBase<HasParentQueryDescriptor<T>, IHasParentQuery>.Conditionless

    Methods

    | Edit this page View Source

    IgnoreUnmapped(bool?)

    Declaration
    public HasParentQueryDescriptor<T> IgnoreUnmapped(bool? ignoreUnmapped = true)
    Parameters
    Type Name Description
    bool? ignoreUnmapped
    Returns
    Type Description
    HasParentQueryDescriptor<T>
    | Edit this page View Source

    InnerHits(Func<InnerHitsDescriptor<T>, IInnerHits>)

    Declaration
    public HasParentQueryDescriptor<T> InnerHits(Func<InnerHitsDescriptor<T>, IInnerHits> selector = null)
    Parameters
    Type Name Description
    Func<InnerHitsDescriptor<T>, IInnerHits> selector
    Returns
    Type Description
    HasParentQueryDescriptor<T>
    | Edit this page View Source

    ParentType(string)

    Declaration
    public HasParentQueryDescriptor<T> ParentType(string type)
    Parameters
    Type Name Description
    string type
    Returns
    Type Description
    HasParentQueryDescriptor<T>
    | Edit this page View Source

    Query(Func<QueryContainerDescriptor<T>, QueryContainer>)

    Declaration
    public HasParentQueryDescriptor<T> Query(Func<QueryContainerDescriptor<T>, QueryContainer> selector)
    Parameters
    Type Name Description
    Func<QueryContainerDescriptor<T>, QueryContainer> selector
    Returns
    Type Description
    HasParentQueryDescriptor<T>
    | Edit this page View Source

    Score(bool?)

    Determines whether the score of the matching parent document is aggregated into the child documents belonging to the matching parent document. The default is false which ignores the score from the parent document.

    Declaration
    public HasParentQueryDescriptor<T> Score(bool? score = true)
    Parameters
    Type Name Description
    bool? score
    Returns
    Type Description
    HasParentQueryDescriptor<T>

    Implements

    IDescriptor
    IHasParentQuery
    IQuery

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Constructors
      • HasParentQueryDescriptor()
    • Properties
      • Conditionless
    • Methods
      • IgnoreUnmapped(bool?)
      • InnerHits(Func<InnerHitsDescriptor<T>, IInnerHits>)
      • ParentType(string)
      • Query(Func<QueryContainerDescriptor<T>, QueryContainer>)
      • Score(bool?)
    • Implements
    • Extension Methods
    Back to top Generated by DocFX