lib/Elastica/Index.php
public function setSettings(array $data)
    {
        $endpoint = new Put();
        $endpoint->setBody($data);

        return $this->requestEndpoint($endpoint);
    }
public function setSettings(array $data)
    {
        $endpoint = new Put();
        $endpoint->setBody($data);

        return $this->requestEndpoint($endpoint);
    }
public function setSettings ( array $ data ) { $ endpoint = new Put ( ) ; $ endpoint -> setBody ( $ data ) ; return $ this -> requestEndpoint ( $ endpoint ) ; }
Can be used to change settings during runtime. One example is to use it for bulk updating.

@param array $data Data array

@return \Elastica\Response Response object

@see https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-update-settings.html
Can be used to change settings during runtime . One example is to use it for bulk updating .