larasearch
larasearch copied to clipboard
Reindexing: got Killed
Hi there, when i'm trying to reindex by command:
php artisan larasearch:reindex CGCase\\Models\\Objects --relations
and it showing this:
php artisan larasearch:reindex CGCase\\Models\\Objects --relations
---> Reindexing CGCase\Models\Objects
* Batch 1
Killed
I dont know what that means :( Please help :(
It looks like the reindexing is getting killed by the Linux OOM killer. How big is your data set? Make sure that you don't have any circular relations in the models. If you are not sure then start by building up the relations one-by-one (don't forget to update the paths everytime). Also, try reducing the batch size.