Closed barbosa89 closed 3 months ago
I have a User model:
$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.
same here. Not working with laravel 5.8 and last scout package
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.