Framework integration / Laravel / Production

When working in your production environment, you want to keep your existing search experience available while reimporting your data. You can do this with the scout:reimport Artisan command:

php artisan scout:reimport

This Artisan command outputs the following content:


To ensure not to interrupt searches happening on the index during the rebuild, Scout Extended uses a temporary index to import all records before moving it to the production index.

With this operation, your app temporarily has twice the number of records. Please verify that your plan includes enough available records to execute this operation.

Did you find this page helpful?