Docs: The name of scroll ID attribute in the response is "_scroll_id" rather than "scroll_id"

Closes #10691
This commit is contained in:
Mehdi Mollaverdi 2015-04-21 09:47:36 +10:00 committed by Clinton Gormley
parent cf177c32d4
commit dce920b75f
1 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ curl -XGET 'localhost:9200/twitter/tweet/_search?scroll=1m' -d '
' '
-------------------------------------------------- --------------------------------------------------
The result from the above request includes a `scroll_id`, which should The result from the above request includes a `_scroll_id`, which should
be passed to the `scroll` API in order to retrieve the next batch of be passed to the `scroll` API in order to retrieve the next batch of
results. results.
@ -84,7 +84,7 @@ curl -XGET 'localhost:9200/_search/scroll?scroll=1m' -d 'c2Nhbjs2OzM0NDg1ODpzRlB
-------------------------------------------------- --------------------------------------------------
IMPORTANT: The initial search request and each subsequent scroll request IMPORTANT: The initial search request and each subsequent scroll request
returns a new `scroll_id` -- only the most recent `scroll_id` should be returns a new `_scroll_id` -- only the most recent `_scroll_id` should be
used. used.
NOTE: If the request specifies aggregations, only the initial search response NOTE: If the request specifies aggregations, only the initial search response