Spatie\ElasticsearchQueryBuilder\Builder::search(): Return value must be of type array, Elastic\Elasticsearch\Response\Elasticsearch returned #22
Unanswered
Parviz-Elite
asked this question in
Q&A
Replies: 2 comments 1 reply
-
The same for me, the spatie return type is not good :
Elasticsearch package :
|
Beta Was this translation helpful? Give feedback.
1 reply
-
@Parviz-Elite @hussonkevin @JurePotocnik Fixed in #24 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
elasticsearch/elasticsearch > v8.3.3
spatie/elasticsearch-query-builder > v2.0.0
PHP > v8.1.0
Laravel > v9.24.0
Class:
`private $client_endpoint;
private $client_user;
private $client_password;
private $client_certificate;
`
Use:
`Route::get('test', static function () {
$e = new App\Services\Elastic\Elastic();
});`
Beta Was this translation helpful? Give feedback.
All reactions