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
I'm encountering a problem when executing php php artisan scout:import "App\Models\Product": it causes a downtime in my search services due to the clearing of all product records in the Algolia index. Is there a method to reimport these products in a way that overwrites the existing ones, instead of clearing the index?
I attempted to update products individually with a custom command, but this method was too slow and eventually hit Algolia's limits on individual updates.
As Laravel is an open source project, we rely on the community to help us diagnose and fix issues as it is not possible to research and fix every issue reported to us via GitHub.
If possible, please make a pull request fixing the issue you have described, along with corresponding tests. All pull requests are promptly reviewed by the Laravel team.
Thanks for reporting but it looks like this is a question which can be asked on a support channel. Please only use this issue tracker for reporting bugs with the library itself. If you have a question on how to use functionality provided by this repo you can try one of the following channels:
Scout Version
10.3
Scout Driver
Algolia
Laravel Version
10.10
PHP Version
8.2.7
Description
I'm encountering a problem when executing php
php artisan scout:import "App\Models\Product"
: it causes a downtime in my search services due to the clearing of all product records in the Algolia index. Is there a method to reimport these products in a way that overwrites the existing ones, instead of clearing the index?I attempted to update products individually with a custom command, but this method was too slow and eventually hit Algolia's limits on individual updates.
Steps To Reproduce
Running
php artisan scout:import "App\Models\Product"
The text was updated successfully, but these errors were encountered: