[[reference-indices-put_settings]] //////// =========================================================================================================================== || || || || || || || ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ || || ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ || || ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ || || ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ || || ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ || || ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ || || || || || || 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.indices.putSettings]] === client.indices.putSettings Update index settings. Changes dynamic index settings in real time. For data streams, index setting changes are applied to all backing indices by default. {ref}/indices-update-settings.html[{es} documentation] [discrete] ==== Function signature [source,ts] ---- (IndicesPutSettingsRequest, options?): Promise ---- [discrete] ==== Request [pass] ++++
++++
interface IndicesPutSettingsRequest extends <> {
  index?: <>
  allow_no_indices?: boolean
  expand_wildcards?: <>
  flat_settings?: boolean
  ignore_unavailable?: boolean
  master_timeout?: <>
  preserve_existing?: boolean
  timeout?: <>
  settings?: <>
}

[pass]
++++
++++ [discrete] ==== Response [pass] ++++
++++
type IndicesPutSettingsResponse = <>

[pass]
++++
++++