Files
elasticsearch-js/docs/reference/api/AggregationsTopMetricsAggregation.md
2025-05-28 10:02:30 -05:00

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. |