docs: def get_settings(self, index=None):
          """
          Returns the current settings for an index.
          (See :ref:`es-guide-reference-api-admin-indices-get-settings`)
  
          """
          path = make_path(index, "_settings")
          return self.conn._send_request('GET', path)