Class WeightedAverageAggregationDescriptor<T>
Inheritance
WeightedAverageAggregationDescriptor<T>
Assembly: OpenSearch.Client.dll
Syntax
public class WeightedAverageAggregationDescriptor<T> : DescriptorBase<WeightedAverageAggregationDescriptor<T>, IWeightedAverageAggregation>, IDescriptor, IWeightedAverageAggregation, IAggregation where T : class
Type Parameters
Methods
|
Edit this page
View Source
The optional numeric response formatter
Declaration
public WeightedAverageAggregationDescriptor<T> Format(string format)
Parameters
Type |
Name |
Description |
string |
format |
|
Returns
|
Edit this page
View Source
metadata to associate with the individual aggregation at request time that
will be returned in place at response time
Declaration
public WeightedAverageAggregationDescriptor<T> Meta(Func<FluentDictionary<string, object>, FluentDictionary<string, object>> selector)
Parameters
Returns
|
Edit this page
View Source
Value(Func<WeightedAverageValueDescriptor<T>, IWeightedAverageValue>)
The configuration for the field or script that provides the values
Declaration
public WeightedAverageAggregationDescriptor<T> Value(Func<WeightedAverageValueDescriptor<T>, IWeightedAverageValue> selector)
Parameters
Returns
|
Edit this page
View Source
ValueType(ValueType?)
A hint about the values for pure scripts or unmapped fields
Declaration
public WeightedAverageAggregationDescriptor<T> ValueType(ValueType? valueType)
Parameters
Returns
|
Edit this page
View Source
Weight(Func<WeightedAverageValueDescriptor<T>, IWeightedAverageValue>)
The configuration for the field or script that provides the weights
Declaration
public WeightedAverageAggregationDescriptor<T> Weight(Func<WeightedAverageValueDescriptor<T>, IWeightedAverageValue> selector)
Parameters
Returns
Implements
Extension Methods