babenkoivan / elastic-migrations

Elasticsearch migrations for Laravel
MIT License
188 stars 32 forks source link

Restart docker, index update document when using scout import #43

Closed trannluongg closed 2 years ago

trannluongg commented 2 years ago

I am running elasticsearch using docker. When I create the index with php artisan elastic:migrate {x.php}, then I run the command php artisan scout:import {Model}, when it's done, after a while I check the index there is no document. When I restart docker, the index is updated to document. Thanks

babenkoivan commented 2 years ago

Hey @trannluongg, it sounds like a problem with your setup and not the package itself. I can only recommend you to verify that your infrastructure meets the package requirements and carefully check scout and elastic* configurations.

trannluongg commented 2 years ago

@babenkoivan Thank you.

github-actions[bot] commented 2 years ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days