
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
- 503 Timeout when Updating or Upserting D...
Hey I鈥檓 running into an issue when trying to update or upsert a row in Appwrite. The request hangs for a while and then throws this error: ``` AppwriteException...
- Hola equipo de soporte,
Hola equipo de soporte, Estoy desarrollando una Function en Appwrite Cloud con Node.js 22 y el siguiente package.json: {聽聽"name":聽"upload-whitelist",聽聽"type"...
- Sites 30MB limit from GitHub
I鈥檓 deploying a site from github as Other type on the Hobby plan. It is actually a Flutter web app but it鈥檚 in a subdirectory with the root being an html landin...
