I am using laravel scout to implement my text search. I followed all the configuration instructions and imported the records. When I do that i get this success message Imported [AppThread] models up to ID: 8
but in algolia I can’t see my records for the given index, it keeps saying I have 0 records. I am currently using my admin APIkey.
How do I fix that?
Advertisement
Answer
I used to have this problem. it is weird but after i did:
php artisan cache:clear php artisan route:clear php artisan config:cache composer dumpautoload
I can do php artisan scout:import
without any problem. But when i switched the driver, it didn’t work again, and i had to do the 4 steps above again to fix it.