From dce920b75f523fbec3ffe729225c0e388b95809a Mon Sep 17 00:00:00 2001 From: Mehdi Mollaverdi Date: Tue, 21 Apr 2015 09:47:36 +1000 Subject: [PATCH] Docs: The name of scroll ID attribute in the response is "_scroll_id" rather than "scroll_id" Closes #10691 --- docs/reference/search/request/scroll.asciidoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/reference/search/request/scroll.asciidoc b/docs/reference/search/request/scroll.asciidoc index 8f33d1a6bd8..b96033719d2 100644 --- a/docs/reference/search/request/scroll.asciidoc +++ b/docs/reference/search/request/scroll.asciidoc @@ -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 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 -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. NOTE: If the request specifies aggregations, only the initial search response