laravel-scout-elasticsearch
laravel-scout-elasticsearch copied to clipboard
Search among multiple models with ElasticSearch and Laravel Scout
**Describe the bug** If you are not using `scout:import` before you index the first model, the index is created without a timestamp. This leads to an `invalid alias name` error,...
**Describe the bug** I have an ElasticSearchServiceProvider in my app/Providers directory. The client build is made as follow: ```php $client = ClientBuilder::create() ->setHosts([ 'http://'.env('ELASTICSEARCH_HOST').':'.env('ELASTICSEARCH_PORT') ]) ->setBasicAuthentication(env('ELASTICSEARCH_USER'), env('ELASTICSEARCH_PASS')) ->build(); ``` If...
**Describe the bug** When eager loading is enabled, scout:import fails on the horizon queue. **To Reproduce** Steps to reproduce the behavior: 1. Run a command 'php artisan scout:import App\Post' 1....
Replace laravel queues to https://github.com/php-enqueue/enqueue-dev to import data in parallel
https://github.com/matchish/laravel-scout-elasticsearch/blob/d7d530abb7271f0b986880866a7f1a5601fc8130/src/Console/Commands/ImportCommand.php#L15 I would like to customize the `scout:import` artisan command to import only a subset of chosen models. That is because I have a few models that live in multiple...
Here is a code for refactoring https://github.com/matchish/laravel-scout-elasticsearch/blob/c130e18eab7ed51dda176cc177c01c91b575e6bc/src/Jobs/Stages/PullFromSource.php#L50 Now source collection chunked using `forPage` method. But it slow if you have hundreds of thousands records. It will be better to use...
https://github.com/matchish/laravel-scout-elasticsearch/pull/132 Any thoughts?
Update larastan after [this](https://github.com/matchish/laravel-scout-elasticsearch/pull/129#issuecomment-708461355) feature will be part of larastan
**Describe the bug** We are using multiple scout drivers in our app and more specifically elasticsearch in staging server and algolia in production server. It seems that while algolia is...