anchor.diff:  [[cluster-update-settings]]
   == Cluster Update Settings
   
  -Allows to update cluster wide specific settings. Settings updated can
  -either be persistent (applied across restarts) or transient (will not
  -survive a full cluster restart). Here is an example:
  +Use this API to review and change cluster-wide settings. 
  +
  +To review cluster settings:
  +
  +[source,js]
  +--------------------------------------------------
  +GET /_cluster/settings
  +--------------------------------------------------
  +// CONSOLE
  +
  +Updates to settings can be persistent, meaning they apply across restarts, or transient, where they don't 
  +survive a full cluster restart. Here is an example of a persistent update:
   
   [source,js]
   --------------------------------------------------
  
positive.code: --------------------------------------------------
  // CONSOLE
  
  Or:
  
  [source,js]
  --------------------------------------------------
  
negative.code: --------------------------------------------------
  // CONSOLE
  
  
  [float]
  === Order of Precedence
  
  The order of precedence for cluster settings is:
  
  1. transient cluster settings 
  2. persistent cluster settings
  3. settings in the `elasticsearch.yml` configuration file.
  
  It's best to use the `elasticsearch.yml` file only
  for local configurations, and set all cluster-wide settings with the
  `settings` API.
  
  You can find the list of settings that you can dynamically update in <<modules,Modules>>.
  
  