Search Results for

    Show / Hide Table of Contents

    Interface IParentIdQuery

    The parent_id query can be used to find child documents which belong to a particular parent.

    Inherited Members
    IQuery.Boost
    IQuery.Conditionless
    IQuery.IsStrict
    IQuery.IsVerbatim
    IQuery.IsWritable
    IQuery.Name
    Namespace: OpenSearch.Client
    Assembly: OpenSearch.Client.dll
    Syntax
    public interface IParentIdQuery : IQuery

    Properties

    | Edit this page View Source

    Id

    The id of the parent document to get children for.

    Declaration
    [DataMember(Name = "id")]
    Id Id { get; set; }
    Property Value
    Type Description
    Id
    | Edit this page View Source

    IgnoreUnmapped

    When set to true this will ignore an unmapped type and will not match any documents for this query. This can be useful when querying multiple indexes which might have different mappings.

    Declaration
    [DataMember(Name = "ignore_unmapped")]
    bool? IgnoreUnmapped { get; set; }
    Property Value
    Type Description
    bool?
    | Edit this page View Source

    Type

    The child type. This must be a type with _parent field.

    Declaration
    [DataMember(Name = "type")]
    RelationName Type { get; set; }
    Property Value
    Type Description
    RelationName

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Properties
      • Id
      • IgnoreUnmapped
      • Type
    • Extension Methods
    Back to top Generated by DocFX