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
Meilisearch CLI Version (If using Meilisearch): 1.0.2
Description:
The search works great when I am using simple characters, but if I use some special characters like "~", "-", "." I get this error:
Call to undefined method App\\Models\\Image::getUnqualifiedScoutKeyName() at vendor/laravel/framework/src/Illuminate/Support/Traits/ForwardsCalls.php:71)
Steps To Reproduce:
I have a model named Image that has the Searchable trait, and toSearchableArray method:
public function index()
{
$search = request('search'); //If this is "." or some special character it throws that error
return Image::search($search)->get()->all();
}
The text was updated successfully, but these errors were encountered:
Description:
The search works great when I am using simple characters, but if I use some special characters like "~", "-", "." I get this error:
Steps To Reproduce:
I have a model named
Image
that has theSearchable
trait, andtoSearchableArray
method:scout.php
:ImageController
The text was updated successfully, but these errors were encountered: