You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was able to successfully configure laravel-scout with tntsearch to search records. Works great when all records are imported with artisan. But when i try to add records to index, the searchable() method dont work:
$post = Post::find(1);
$post->searchable();
Call to undefined method Illuminate\Database\Eloquent\Builder::searchable()
or Method Illuminate\Database\Eloquent\Collection::searchable does not exist
And, when update ou save any model, no action are triggered. Like:
I was able to successfully configure laravel-scout with tntsearch to search records. Works great when all records are imported with artisan. But when i try to add records to index, the searchable() method dont work:
Call to undefined method Illuminate\Database\Eloquent\Builder::searchable()
or
Method Illuminate\Database\Eloquent\Collection::searchable does not exist
And, when update ou save any model, no action are triggered. Like:
I dont want to flush and import all records all the time, i want to just update ou save new records when needed.
Any help?
Thanks!
Using:
The text was updated successfully, but these errors were encountered: