-
Notifications
You must be signed in to change notification settings - Fork 25k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document scroll param on reindex.json #38615
Conversation
The Reindex API also exposes `scroll` as a querystring parameter.
Pinging @elastic/es-distributed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
"scroll": { | ||
"type" : "time", | ||
"description" : "Control how long to keep the search context alive", | ||
"default" : "5m" |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
run elasticsearch-ci/bwc |
Pinging @elastic/es-core-infra |
The Reindex API also exposes `scroll` as a querystring parameter.
The Reindex API also exposes `scroll` as a querystring parameter.
@Mpdreamz I'm assuming there is nothing left to backport and removed the backport pending label. |
The Reindex API also exposes
scroll
as a querystring parameter.cc @elastic/es-clients