Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 98872da

Browse files
committed
add the ability to provide scroll id as part of the search request body
1 parent 096d19f commit 98872da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/elasticsearch/rest_api/search/scroll/index.textile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ p. Note, scroll is currently an experimental feature.
1818

1919
p. A search request can be scrolled by specifying the @scroll@ parameter. The @scroll@ parameter is a time value parameter (for example: @scroll=5m@), indicating for how long the nodes that participate in the search will maintain relevant resources in order to continue and support it. This is very similar in its idea to opening a cursor against a database.
2020

21-
p. A @scroll_id@ is returned from the first search request (and from continuos) scroll requests. The @scroll_id@ should be used when scrolling (and thats it, no other parameter is required).
21+
p. A @scroll_id@ is returned from the first search request (and from continuos) scroll requests. The @scroll_id@ should be used when scrolling (and thats it, no other parameter is required). The scroll id can also be passed as part of the search request body.
2222

2323
p(note). Scrolling is not intended for real time user requests, it is intended for cases like scrolling over large portions of data that exists within elasticsearch to reindex it for example.

0 commit comments

Comments
 (0)