mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-30 18:33:26 -04:00
Document the newly implicit limit of 500 (if no other limit is provided), as well as the global 10K one. Related: #99816
12 lines
305 B
Text
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.
|