Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Index new records only #35

Open
devNoiseConsulting opened this issue Jun 30, 2020 · 1 comment
Open

Index new records only #35

devNoiseConsulting opened this issue Jun 30, 2020 · 1 comment

Comments

@devNoiseConsulting
Copy link

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
Copy link

eknowlton commented Jan 20, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants