orbit icon indicating copy to clipboard operation
orbit copied to clipboard

Feature request: Update Scout Search Index when files change.

Open alexanderhorner opened this issue 3 years ago • 2 comments

Currently you have to import changes manually. Maybe call ->searchable() manually when the sqlite cache changes?

alexanderhorner avatar May 12 '22 09:05 alexanderhorner

https://laravel.com/docs/9.x/scout#indexing

alexanderhorner avatar May 12 '22 09:05 alexanderhorner

I think that if you change the file manually, the next time the model is booted, the index update should occur. Does that happen?

I don't know how you can detect a file change without running the app and booting the model 🤔

johncarter- avatar May 12 '22 09:05 johncarter-