Files
elasticsearch-js/docs/reference-reindex_rethrottle.asciidoc
2024-12-05 14:46:51 -06:00

74 lines
4.0 KiB
Plaintext

[[reference-reindex_rethrottle]]
////////
===========================================================================================================================
|| ||
|| ||
|| ||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|| ||
|| ||
|| 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 <version> ||
|| ||
|| ||
|| ||
===========================================================================================================================
////////
[discrete]
=== 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]
----
(ReindexRethrottleRequest, options?): Promise<ReindexRethrottleResponse>
----
[discrete]
==== ReindexRethrottleRequest
[pass]
++++
<pre>
++++
interface ReindexRethrottleRequest extends <<RequestBase>> {
task_id: <<Id>>
requests_per_second?: <<_float, float>>
}
[pass]
++++
</pre>
++++
[discrete]
==== ReindexRethrottleResponse
[pass]
++++
<pre>
++++
interface ReindexRethrottleResponse {
nodes: Record<string, ReindexRethrottleReindexNode>
}
[pass]
++++
</pre>
++++