Class CompositeAggregation
A multi-bucket aggregation that creates composite buckets from different sources.
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class CompositeAggregation : BucketAggregationBase, ICompositeAggregation, IBucketAggregation, IAggregation
Constructors
| Edit this page View SourceCompositeAggregation(string)
Declaration
public CompositeAggregation(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name |
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
public 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
public int? Size { get; set; }
Property Value
Type | Description |
---|---|
int? |
Sources
Controls the sources that should be used to build the composite buckets
Declaration
public IEnumerable<ICompositeAggregationSource> Sources { get; set; }
Property Value
Type | Description |
---|---|
IEnumerable<ICompositeAggregationSource> |