Enum MatrixStatsMode
The matrix_stats aggregation treats each document field as an independent sample. The mode parameter controls what array value the aggregation will use for array or multi-valued fields.
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public enum MatrixStatsMode
Fields
| Name | Description |
|---|---|
| Avg | (default) Use the average of all values. |
| Max | Pick the highest value. |
| Median | Use the median of all values. |
| Min | Pick the lowest value. |
| Sum | Use the sum of all values. |