Back to Elasticsearch

Top

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

9.4.0482 B
Original Source

% 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, and defaults to asc if omitted.

outputField : The extra field that, if present, will be the output of the TOP call instead of field.{applies_to}stack: ga 9.3