Elastica\Response::getShardsStatistics PHP Метод

getShardsStatistics() публичный Метод

Get the _shard statistics for the response.
public getShardsStatistics ( ) : array
Результат array
    public function getShardsStatistics()
    {
        $data = $this->getData();
        if (!isset($data['_shards'])) {
            throw new NotFoundException('Unable to find the field [_shards] from the response');
        }
        return $data['_shards'];
    }