pmatseykanets / laravel-scout-postgres

PostgreSQL Full Text Search Engine for Laravel Scout
MIT License
159 stars 35 forks source link

Index new records only #35

Open devNoiseConsulting opened 4 years ago

devNoiseConsulting commented 4 years ago

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?

eknowlton commented 2 years ago

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.