8 lines
484 B
Markdown
8 lines
484 B
Markdown
# `AggregationsTopMetricsAggregation` [interface-AggregationsTopMetricsAggregation]
|
|
|
|
| Name | Type | Description |
|
|
| - | - | - |
|
|
| `metrics` | [AggregationsTopMetricsValue](./AggregationsTopMetricsValue.md) | [AggregationsTopMetricsValue](./AggregationsTopMetricsValue.md)[] | The fields of the top document to return. |
|
|
| `size` | [integer](./integer.md) | The number of top documents from which to return metrics. |
|
|
| `sort` | [Sort](./Sort.md) | The sort order of the documents. |
|