Interface IHistogramCompositeAggregationSource
A value source that can be applied on numeric values to build fixed size interval over the values. The interval parameter defines how the numeric values should be transformed. For instance an interval set to 5 will translate any numeric values to its closest interval, a value of 101 would be translated to 100 which is the key for the interval between 100 and 105.
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public interface IHistogramCompositeAggregationSource : ICompositeAggregationSource
Properties
| Edit this page View SourceInterval
The interval to use when bucketing documents
Declaration
[DataMember(Name = "interval")]
double? Interval { get; set; }
Property Value
Type | Description |
---|---|
double? |
Script
A script to create the values for the composite buckets
Declaration
[DataMember(Name = "script")]
IScript Script { get; set; }
Property Value
Type | Description |
---|---|
IScript |