Interface IParentIdQuery
The parent_id query can be used to find child documents which belong to a particular parent.
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public interface IParentIdQuery : IQuery
Properties
| Edit this page View SourceId
The id of the parent document to get children for.
Declaration
[DataMember(Name = "id")]
Id Id { get; set; }
Property Value
Type | Description |
---|---|
Id |
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? |
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 |