anchor.diff:  // CONSOLE
   // TEST[continued]
   
  -[float]
   [[update-settings-analysis]]
  -==== Updating Index Analysis
  +===== Update index analysis
   
  -It is also possible to define new <<analysis,analyzers>> for the index.
  -But it is required to <<indices-open-close,close>> the index
  -first and <<indices-open-close,open>> it after the changes are made.
  +You can only define new analyzers on closed indices.
   
  -For example if `content` analyzer hasn't been defined on `myindex` yet
  -you can use the following commands to add it:
  +To add an analyzer,
  +you must close the index,
  +define the analyzer,
  +and reopen the index.
  +For example,
  +the following commands add the `content` analyzer to `myindex`:
   
   [source,js]
   --------------------------------------------------
  
positive.code: [[indices-update-settings]]
  === Update Indices Settings
  
  Change specific index level settings in real time.
  
  The REST endpoint is `/_settings` (to update all indices) or
  `{index}/_settings` to update one (or more) indices settings.
  The body of the request includes the updated settings, for example:
  
  [source,js]
  --------------------------------------------------
  
negative.code: // CONSOLE
  // TEST[setup:twitter]
  
  
  [[update-index-settings-api-request]]
  ==== {api-request-title}
  
  `PUT /<index>/_settings`
  
  
  [[update-index-settings-api-path-params]]
  ==== {api-path-parms-title}
  
  include::{docdir}/rest-api/common-parms.asciidoc[tag=index]
  +
  To update a setting for all indices,
  use `_all` or exclude this parameter.
  
  
  [[update-index-settings-api-query-params]]
  ==== {api-query-parms-title}
  
  include::{docdir}/rest-api/common-parms.asciidoc[tag=allow-no-indices]
  
  include::{docdir}/rest-api/common-parms.asciidoc[tag=expand-wildcards]
  +
  Defaults to `open`.
  
  include::{docdir}/rest-api/common-parms.asciidoc[tag=flat-settings]
  
  include::{docdir}/rest-api/common-parms.asciidoc[tag=index-ignore-unavailable]
  
  `preserve_existing`::
  (Optional, boolean) If `true`, existing index settings remain unchanged.
  Defaults to `false`.
  
  include::{docdir}/rest-api/common-parms.asciidoc[tag=timeoutparms]
  
  
  [[sample-api-query-params]]
  ==== {api-query-parms-title}
  
  `settings`::
  (Optional, <<index-modules-settings,index setting object>>) Configuration
  options for the index. See <<index-modules-settings>>.
  
  [[sample-api-example]]
  ==== {api-examples-title}
  
  [[reset-index-setting]]
  ===== Reset an index setting
  To revert a setting to the default value, use `null`. For example:
  
  [source,js]
  --------------------------------------------------
  