Throttle an update by query operation Added in 6.5.0
Change the number of requests per second for a particular update by query operation. Rethrottling that speeds up the query takes effect immediately but rethrotting that slows down the query takes effect after completing the current batch to prevent scroll timeouts.
Path parameters
-
The ID for the task.
Query parameters
-
requests_per_second number
The throttle for this request in sub-requests per second.
POST
/_update_by_query/{task_id}/_rethrottle
curl \
-X POST http://api.example.com/_update_by_query/{task_id}/_rethrottle
Response examples (200)
{
"nodes": {}
}