Interface ICompositeAggregation
A multi-bucket aggregation that creates composite buckets from different sources.
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public interface ICompositeAggregation : IBucketAggregation, IAggregation
Properties
| Edit this page View SourceAfter
Used to retrieve the composite buckets that are after the last composite buckets returned in a previous round
Declaration
[DataMember(Name = "after")]
CompositeKey After { get; set; }
Property Value
Type | Description |
---|---|
CompositeKey |
Size
Defines how many composite buckets should be returned. Each composite bucket is considered as a single bucket so setting a size of 10 will return the first 10 composite buckets created from the values source.
Declaration
[DataMember(Name = "size")]
int? Size { get; set; }
Property Value
Type | Description |
---|---|
int? |
Sources
Controls the sources that should be used to build the composite buckets
Declaration
[DataMember(Name = "sources")]
IEnumerable<ICompositeAggregationSource> Sources { get; set; }
Property Value
Type | Description |
---|---|
IEnumerable<ICompositeAggregationSource> |