public function refresh(array $options = [])
    {
        $endpoint = new \Elasticsearch\Endpoints\Tasks\Get();
        $endpoint->setTaskId($this->_id);
        $endpoint->setParams($options);

        $this->_response = $this->_client->requestEndpoint($endpoint);
        $this->_data = $this->getResponse()->getData();
    }