laravel-scout-postgres icon indicating copy to clipboard operation
laravel-scout-postgres copied to clipboard

Index new records only

Open devNoiseConsulting opened this issue 4 years ago • 1 comments

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?

devNoiseConsulting avatar Jun 30 '20 20:06 devNoiseConsulting

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.

eknowlton avatar Jan 20 '22 16:01 eknowlton