Dmitrijs Mihailovs
09/25/2024, 12:59 PMJason Bosco
09/25/2024, 6:46 PMname.en
for example depending on the locale chosenJason Bosco
09/25/2024, 6:47 PMDmitrijs Mihailovs
09/26/2024, 8:02 AMDmitrijs Mihailovs
10/09/2024, 12:19 PMphp artisan scout:import \\App\\Models\\Project
All [\App\Models\Project] records have been imported.
And the search logic is setup to go through all models where I want to search and in these models where there are no records I get error: `Could not find a field named title.en
in the schema`
I am wondering if there is something in configuration I could change.
Because at the moment only idea I have, is to filter these models by querying tables and getting record count in them.
Thanks!Jason Bosco
10/09/2024, 6:28 PMtitle.en
field then it won't be created it in the collection schema by Typesense. So you want to make sure at least one document has that field, or alternatively, explicitly set that field in the collection schema