Interface IMetricAggregation
An aggregation that computes metrics based on values extracted in one way or another from the documents that are being aggregated.
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public interface IMetricAggregation : IAggregation
Properties
| Edit this page View SourceField
The field on which to aggregate
Declaration
[DataMember(Name = "field")]
Field Field { get; set; }
Property Value
Type | Description |
---|---|
Field |
Missing
The value to use when the aggregation finds a missing value in a document
Declaration
[DataMember(Name = "missing")]
double? Missing { get; set; }
Property Value
Type | Description |
---|---|
double? |
Script
The script to use for the aggregation
Declaration
[DataMember(Name = "script")]
IScript Script { get; set; }
Property Value
Type | Description |
---|---|
IScript |