This error message pertains to the method deleteBy, which is a very computationally expensive way to delete your Algolia Records.
As a result, if you use this method too heavily a rate limit can trigger. To prevent this, we have released a new version of our Laravel Scout Extension that allows you to prevent your application from using deleteBy, to do this set use_depreciated_delete_by to false in your config/scout.php
file as you would with other settings changes.
'algolia' => [
... // Leave any other settings you have set here and then add the line below:
'use_deprecated_delete_by' => false
],
Can you not just raise the rate limit?
Raising the rate limit would result in a severe impact on your server, and so the only solution is the configuration change listed above.