Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@
"default": 0,
"description": "The throttle to set on this request in sub-requests per second. -1 means no throttle."
},
"scroll": {
"type" : "time",
"description" : "Control how long to keep the search context alive",
"default" : "5m"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

where did you find the 5m default again?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Both work exactly how they work in the Bulk API. As _reindex uses scroll search, you can also specify the scroll parameter to control how long it keeps the "search context" alive, (e.g. ?scroll=10m). The default value is 5 minutes.

https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-reindex.html

},
"slices": {
"type": "number",
"default": 1,
Expand Down