
I am sending search queries and I am getting a 500 error [search("restaurantId", ["641e429c2e05e757c5d1"]), search("menu", ["test menu 1"]), limit(20)] ErrorHandler.handle {message: Server Error, code: 500, type: general_unknown, version: 1.2.1}

Just to be sure, are you running the query on the correct database and collection?

yes. inject dependencies in init projec.

Would you please try creating a full text index on only menu?

yes, but this is not working as it should.
i add images response-query-data
- in response have menu value is test
- in query menu value is test menu 2
- in data menu is test
I think the answer is wrong, because test menu 2 has no similarity with test,
If it were the other way around, perhaps we could say that menu test menu 2 contains test and that is why it is displayed.
are my assumptions correct? either ?

That is how search works. It kind of does an OR for each word you pass. You can try to wrap your search term in double quotes to see how it does

i use _genericSearch.field != null ? queries.add(Query.search('menu', _genericSearch.field!)) : null; I don't know how to wrap in double quotes 😦

'"' + _genericSearch.field! + '"'

working.........
Recommended threads
- Redirect URL sends HTTP instead of HTTPS...
I am not sure since when this issue is present, but my Google and Apple redirect URI are no longer pointing to the HTTPS redirect URI when I try to use OAuth. ...
- Failing to run document operations on sd...
Could someone point me in the right direction I'm going in cirlces. I have a problem with sdks and my self-hosted server in production (for ~3 years) I have bee...
- Functions fail to deploy after switching...
Hi <@1087889306208718959> , after switching my self-hosted Appwrite instance to use AWS S3 as the storage backend, my Cloud Functions stopped working. I’m runni...
