code: def put_settings(self, body=None, params=None):
          
          return self.transport.perform_request('PUT', '/_cluster/settings',
              params=params, body=body)
docs: Update cluster wide specific settings.
          `<http://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-update-settings.html>`_
  
          :arg body: The settings to be updated. Can be either `transient` or
              `persistent` (survives cluster restart).
          :arg flat_settings: Return settings in flat format (default: false)
          :arg master_timeout: Explicit operation timeout for connection to master
              node
          :arg timeout: Explicit operation timeout