Update RawPartialResults.php
This commit is contained in:
parent
39f1033a34
commit
4c4e9ffe36
|
@ -49,4 +49,16 @@ class RawPartialResults implements PartialResultsInterface
|
|||
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public function getAggregations()
|
||||
{
|
||||
if ($this->resultSet->hasAggregations()) {
|
||||
return $this->resultSet->getAggregations();
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue