protected function parseAggregations()
    {
        if (!$this->isSuccessful()) {
            return;
        }

        foreach ($this->search->getAggregations() as $agg) {
            $agg->parseResponse($this->search, $this, $this->rawResponse);
        }
    }