diff --git a/src/Service.php b/src/Service.php index c38109b..c319828 100644 --- a/src/Service.php +++ b/src/Service.php @@ -730,7 +730,7 @@ public function getIdsFromFilterNoLimit($classId, array $filters, $fullTextQuery $ids = []; do { - $results = $this->openSearchClient->search($params)->asArray(); + $results = $this->openSearchClient->search($params); $total = $results['hits']['total']; $searchAfter = end($results['hits']['hits'])['sort']; $search->setSearchAfter($searchAfter);