public function refresh(array $params = [])
    {
        return $this->client->indices()->refresh(array_merge(['index' => $this->getIndexName()], $params));
    }
public function refresh(array $params = [])
    {
        return $this->client->indices()->refresh(array_merge(['index' => $this->getIndexName()], $params));
    }
public function refresh ( array $ params = [ ] ) { return $ this -> client -> indices ( ) -> refresh ( array_merge ( [ 'index' => $ this -> getIndexName ( ) ] , $ params ) ) ; }
Refreshes elasticsearch index.

@param array $params

@return array
Refreshes elasticsearch index .