Skip to content

Commit c824b94

Browse files
Explain that the scroll id can be passed in the body, url or query params
Closes elastic#60
1 parent fd55558 commit c824b94

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

060_Distributed_Search/20_Scan_and_scroll.asciidoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,14 @@ results:
4949
[source,js]
5050
--------------------------------------------------
5151
GET /_search/scroll?scroll=1m <1>
52-
c2Nhbjs1OzExODpRNV9aY1VyUVM4U0NMd2pjWlJ3YWlBOzExOTpRNV9aY1VyUVM4U0
52+
c2Nhbjs1OzExODpRNV9aY1VyUVM4U0NMd2pjWlJ3YWlBOzExOTpRNV9aY1VyUVM4U0 <2>
5353
NMd2pjWlJ3YWlBOzExNjpRNV9aY1VyUVM4U0NMd2pjWlJ3YWlBOzExNzpRNV9aY1Vy
5454
UVM4U0NMd2pjWlJ3YWlBOzEyMDpRNV9aY1VyUVM4U0NMd2pjWlJ3YWlBOzE7dG90YW
5555
xfaGl0czoxOw==
5656
--------------------------------------------------
5757
<1> Keep the scroll open for another minute.
58+
<2> The `_scroll_id` can be passed in the body, in the URL or as a
59+
query parameter.
5860

5961
Note that we again specify `?scroll=1m`. The scroll expiry time is refreshed
6062
every time we run a scroll request, so it only needs to give us enough time

0 commit comments

Comments
 (0)