Update RawPartialResults.php

This commit is contained in:
Cassiano 2014-10-08 14:27:50 -03:00
parent 39f1033a34
commit 4c4e9ffe36

View file

@ -49,4 +49,16 @@ class RawPartialResults implements PartialResultsInterface
return null;
}
}
/**
* {@inheritDoc}
*/
public function getAggregations()
{
if ($this->resultSet->hasAggregations()) {
return $this->resultSet->getAggregations();
}
return null;
}
}