elastic / elasticsearch

Free and Open Source, Distributed, RESTful Search Engine
https://www.elastic.co/products/elasticsearch
Other
1.17k stars 24.84k forks source link

SQL: Docs: note that the `Cursor` header could grow large in text modes #112197

Open bpintea opened 2 months ago

bpintea commented 2 months ago

Description

In text formats, when paginating, the cursor is returned in a Cursor HTTP header. For some queries and indices configurations/contents, this can get large, even beyond 16KB, size which is used sometimes as a default (ex: http.max_header_size). We should make a note of this fact.

Note: the cursor is returned part of the JSON request object, so message body, so it won't pose an issue with Elasticsearch, even when using default configs.

elasticsearchmachine commented 2 months ago

Pinging @elastic/es-docs (Team:Docs)

elasticsearchmachine commented 2 months ago

Pinging @elastic/es-analytical-engine (Team:Analytics)