Class MetricAggregationBase
Inheritance
MetricAggregationBase
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public abstract class MetricAggregationBase : AggregationBase, IMetricAggregation, IAggregation
Constructors
| Edit this page View SourceMetricAggregationBase(string, Field)
Declaration
protected MetricAggregationBase(string name, Field field)
Parameters
Type | Name | Description |
---|---|---|
string | name | |
Field | field |
Properties
| Edit this page View SourceField
The field on which to aggregate
Declaration
public 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
public double? Missing { get; set; }
Property Value
Type | Description |
---|---|
double? |
Script
The script to use for the aggregation
Declaration
public virtual IScript Script { get; set; }
Property Value
Type | Description |
---|---|
IScript |