elasticsearch/docs/reference/query-languages/esql/_snippets/functions/parameters/top.md

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
316 B
Markdown
Raw Normal View History

% This is generated by ESQL's AbstractFunctionTestCase. Do not edit it. See ../README.md for how to regenerate it.
**Parameters**
`field`
: The field to collect the top values for.
`limit`
: The maximum number of values to collect.
`order`
: The order to calculate the top values. Either `asc` or `desc`.