Class ParentAggregation
A special single bucket aggregation that selects parent documents that have the specified type, as defined in a join field.
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class ParentAggregation : BucketAggregationBase, IParentAggregation, IBucketAggregation, IAggregation
Constructors
| Edit this page View SourceParentAggregation(string, RelationName)
Declaration
public ParentAggregation(string name, RelationName type)
Parameters
Type | Name | Description |
---|---|---|
string | name | |
RelationName | type |
Properties
| Edit this page View SourceType
The type for the child in the parent/child relationship
Declaration
public RelationName Type { get; set; }
Property Value
Type | Description |
---|---|
RelationName |