[[reference-shared-types-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 || || || || || || || =========================================================================================================================== //////// == Shared ReindexRethrottle types [discrete] [[ReindexRethrottleReindexNode]] === ReindexRethrottleReindexNode [pass] ++++
++++
interface ReindexRethrottleReindexNode extends <> {
  tasks: Record<<>, <>>
}
[pass]
++++
++++ [discrete] [[ReindexRethrottleReindexStatus]] === ReindexRethrottleReindexStatus [pass] ++++
++++
interface ReindexRethrottleReindexStatus {
  pass:[/**] @property batches The number of scroll responses pulled back by the reindex. */
  batches: <>
  pass:[/**] @property created The number of documents that were successfully created. */
  created: <>
  pass:[/**] @property deleted The number of documents that were successfully deleted. */
  deleted: <>
  pass:[/**] @property noops The number of documents that were ignored because the script used for the reindex returned a `noop` value for `ctx.op`. */
  noops: <>
  pass:[/**] @property requests_per_second The number of requests per second effectively executed during the reindex. */
  requests_per_second: <>
  pass:[/**] @property retries The number of retries attempted by reindex. `bulk` is the number of bulk actions retried and `search` is the number of search actions retried. */
  retries: <>
  throttled?: <>
  pass:[/**] @property throttled_millis Number of milliseconds the request slept to conform to `requests_per_second`. */
  throttled_millis: <><<>>
  throttled_until?: <>
  pass:[/**] @property throttled_until_millis This field should always be equal to zero in a `_reindex` response. It only has meaning when using the Task API, where it indicates the next time (in milliseconds since epoch) a throttled request will be executed again in order to conform to `requests_per_second`. */
  throttled_until_millis: <><<>>
  pass:[/**] @property total The number of documents that were successfully processed. */
  total: <>
  pass:[/**] @property updated The number of documents that were successfully updated, for example, a document with same ID already existed prior to reindex updating it. */
  updated: <>
  pass:[/**] @property version_conflicts The number of version conflicts that reindex hits. */
  version_conflicts: <>
}
[pass]
++++
++++ [discrete] [[ReindexRethrottleReindexTask]] === ReindexRethrottleReindexTask [pass] ++++
++++
interface ReindexRethrottleReindexTask {
  action: string
  cancellable: boolean
  description: string
  id: <>
  node: <>
  running_time_in_nanos: <><<>>
  start_time_in_millis: <><<>>
  status: <>
  type: string
  headers: <>
}
[pass]
++++
++++ [discrete] [[ReindexRethrottleRequest]] === ReindexRethrottleRequest [pass] ++++
++++
interface ReindexRethrottleRequest extends <> {
  task_id: <>
  requests_per_second?: <>
}
[pass]
++++
++++ [discrete] [[ReindexRethrottleResponse]] === ReindexRethrottleResponse [pass] ++++
++++
interface ReindexRethrottleResponse {
  nodes: Record>>
}
[pass]
++++
++++