Update RawPartialResults.php
This commit is contained in:
parent
39f1033a34
commit
4c4e9ffe36
1 changed files with 13 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue