laravel-scout-postgres
laravel-scout-postgres copied to clipboard
Index new records only
I've run php artisan scout:import "App\Models\MyModel"
which creates indexes for all the records in my table. Unfortunately, an external process is inserting new records into the table. The searchable column is null and those records are not searchable. I'm in the process of creating an artisan command to index the records that have searchable equal to null. Would a scout:import-new
(or other signature) be welcome as a feature to index new records?
I think these commands are managed Laravel Framework and not laravel-scout-postgres
, this package simply just adds a driver that scout uses. php artisan scout:*
are commands provided by laravel and not this package.