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
@viv-design As typesense collection schema isn't usually dynamically defined, this would cause an issue when trying to index documents with "field not found" or something like that, I'll try to implement a solution for this issue ASAP.
Hi @viv-design. When you create a collection schema, do your imports, and then modify the collection schema, you have do remove the collection and apply the changes in the schema, after that create collection (example: $client->collections->create((new \App\Models\Todo)->getCollectionSchema())), and you need add your meta keys in typesenseQueryBy and set value in toSearchableArray method. After all changes run php artisan scout:import
Here you should add the scout metadata to the toSearchableArray output
laravel-scout-typesense-driver/src/Engines/TypesenseEngine.php
Lines 86 to 87 in cf1c1de
The text was updated successfully, but these errors were encountered: