You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 5, 2023. It is now read-only.
Then I try to import models in elasticsearch using below command
sail artisan scout:import 'App\Models\Product'
I receive below error
Class "ScoutEngines\Elasticsearch\ElasticsearchProvider" not found
If I remove 'ElasticsearchProvider' class from 'config/app.php', I get below error
Elastic\Elasticsearch\ClientBuilder::setHosts(): Argument #1 ($hosts) must be of type array, null given, called in /var/www/html/vendor/tamayo/laravel-scout-elastic/src/LaravelScoutElasticProvider.php on line 23
The text was updated successfully, but these errors were encountered:
Stack Versions
Laravel : 9.19
Laravel Scout : 9.4
elasticsearch/elasticsearch: 8.4
tamayo/laravel-scout-elastic: 8.1
I installed everything, then I placed below service providers in "config/app.php"
Then I try to import models in elasticsearch using below command
sail artisan scout:import 'App\Models\Product'
I receive below error
Class "ScoutEngines\Elasticsearch\ElasticsearchProvider" not found
If I remove 'ElasticsearchProvider' class from 'config/app.php', I get below error
Elastic\Elasticsearch\ClientBuilder::setHosts(): Argument #1 ($hosts) must be of type array, null given, called in /var/www/html/vendor/tamayo/laravel-scout-elastic/src/LaravelScoutElasticProvider.php on line 23
The text was updated successfully, but these errors were encountered: