lib/Elastica/Index.php
public function flush(array $options = [])
    {
        $endpoint = new Flush();
        $endpoint->setParams($options);

        return $this->requestEndpoint($endpoint);
    }
public function flush(array $options = [])
    {
        $endpoint = new Flush();
        $endpoint->setParams($options);

        return $this->requestEndpoint($endpoint);
    }
public function flush ( array $ options = [ ] ) { $ endpoint = new Flush ( ) ; $ endpoint -> setParams ( $ options ) ; return $ this -> requestEndpoint ( $ endpoint ) ; }
Flushes the index to storage.

@param array $options

@return Response Response object

@see https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-flush.html
Flushes the index to storage .