elasticsearch/docs/reference/esql/processing-commands/limit.asciidoc
Bogdan Pintea eaf21483fb
ESQL: Document the existing result-set limitations (#99880)
Document the newly implicit limit of 500 (if no other limit is
provided), as well as the global 10K one.

Related: #99816
2023-09-26 04:12:23 -04:00

12 lines
305 B
Text

[[esql-limit]]
=== `LIMIT`
The `LIMIT` processing command enables you to limit the number of rows:
[source,esql]
----
include::{esql-specs}/docs.csv-spec[tag=limit]
----
If not specified, `LIMIT` defaults to `500`. A single query will not return
more than 10,000 rows, regardless of the `LIMIT` value.