diff --git a/src/Engines/ElasticSearchEngine.php b/src/Engines/ElasticSearchEngine.php index 9694253..1161ece 100644 --- a/src/Engines/ElasticSearchEngine.php +++ b/src/Engines/ElasticSearchEngine.php @@ -197,7 +197,7 @@ private function performSearch(BaseBuilder $builder, $options = []) $callback, $this->elasticsearch, $searchBody - ); + )->asArray(); } $model = $builder->model;