Class ReindexRethrottleRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.core.ReindexRethrottleRequest
Throttle a reindex operation.
 
Change the number of requests per second for a particular reindex operation. For example:
 POST _reindex/r1A2WoRbTwKZ516z6NEs5A:36619/_rethrottle?requests_per_second=-1
 
 
 Rethrottling that speeds up the query takes effect immediately. Rethrottling that slows down the query will take effect after completing the current batch. This behavior prevents scroll timeouts.
- See Also:
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBaseRequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
- 
Field SummaryFieldsModifier and TypeFieldDescriptionEndpoint "reindex_rethrottle".
- 
Method SummaryModifier and TypeMethodDescriptionstatic ReindexRethrottleRequestfinal FloatThe throttle for this request in sub-requests per second.final StringtaskId()Required - The task identifier, which can be found by using the tasks API.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBasetoString
- 
Field Details- 
_ENDPOINTpublic static final Endpoint<ReindexRethrottleRequest,ReindexRethrottleResponse, _ENDPOINTErrorResponse> Endpoint "reindex_rethrottle".
 
- 
- 
Method Details- 
ofpublic static ReindexRethrottleRequest of(Function<ReindexRethrottleRequest.Builder, ObjectBuilder<ReindexRethrottleRequest>> fn) 
- 
requestsPerSecondThe throttle for this request in sub-requests per second. It can be either-1to turn off throttling or any decimal number like1.7or12to throttle to that level.API name: requests_per_second
- 
taskIdRequired - The task identifier, which can be found by using the tasks API.API name: task_id
 
-