teamtnt / laravel-scout-tntsearch-driver

Driver for Laravel Scout search package based on https://github.com/teamtnt/tntsearch
MIT License
1.1k stars 144 forks source link

Does not bring results after update a field Model #180

Closed barbosa89 closed 3 months ago

barbosa89 commented 6 years ago

I have a User model:

example

$user = new User(); $user->name = 'Tony'; $user->status = false; $user->save();

After, I can search:

User::search('tony')->get();

I want to update the status field:

$user->status = true; $user-save();

But after updating, does not bring result. It seems that when updating a single field, the other fields are updated empty in the indexes.

josegus commented 5 years ago

same here. Not working with laravel 5.8 and last scout package