[[reference-reindex_rethrottle]] == client.reindexRethrottle //////// =========================================================================================================================== || || || || || || || ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ || || ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ || || ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ || || ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ || || ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ || || ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ || || || || || || This file is autogenerated, DO NOT send pull requests that changes this file directly. || || You should update the script that does the generation, which can be found in: || || https://github.com/elastic/elastic-client-generator-js || || || || You can run the script with the following command: || || npm run elasticsearch -- --version || || || || || || || =========================================================================================================================== //////// ++++ ++++ [discrete] [[client.reindexRethrottle]] == `client.reindexRethrottle()` Throttle a reindex operation. Change the number of requests per second for a particular reindex operation. {ref}/docs-reindex.html[{es} documentation] [discrete] === Function signature [source,ts] ---- (request: ReindexRethrottleRequest, options?: TransportRequestOptions) => Promise ---- [discrete] === Request [source,ts,subs=+macros] ---- interface ReindexRethrottleRequest extends <> { task_id: <> requests_per_second?: <> } ---- [discrete] === Response [source,ts,subs=+macros] ---- interface ReindexRethrottleResponse { nodes: Record>> } ----