Interface IWeightedAverageAggregation
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public interface IWeightedAverageAggregation : IAggregation
Properties
| Edit this page View SourceFormat
The optional numeric response formatter
Declaration
[DataMember(Name = "format")]
string Format { get; set; }
Property Value
Type | Description |
---|---|
string |
Value
The configuration for the field or script that provides the values
Declaration
[DataMember(Name = "value")]
IWeightedAverageValue Value { get; set; }
Property Value
Type | Description |
---|---|
IWeightedAverageValue |
ValueType
A hint about the values for pure scripts or unmapped fields
Declaration
[DataMember(Name = "value_type")]
ValueType? ValueType { get; set; }
Property Value
Type | Description |
---|---|
ValueType? |
Weight
The configuration for the field or script that provides the weights
Declaration
[DataMember(Name = "weight")]
IWeightedAverageValue Weight { get; set; }
Property Value
Type | Description |
---|---|
IWeightedAverageValue |