{ "message": "Server Error", "code": 500, "type": "general_unknown", "version": "0.10.21" }
AppwriteException: Server Error
at Client.<anonymous> (http://localhost:5173/node_modules/.vite/deps/appwrite.js?v=031a04b0:844:17)
at Generator.next (<anonymous>)
at fulfilled (http://localhost:5173/node_modules/.vite/deps/appwrite.js?v=031a04b0:488:24)
Via dev tools > network tab
{"message":"Server Error","code":500,"type":"general_unknown","version":"0.10.21"} don't have more than this
Somethings like that ?
that's what I sent
Perhaps it's a version error. Appwrite cloud use v 1.1x
Try with only one search ?
Control value of query ?
oh! got a different error: Index not found: name
Try same request but from postman (so via rest / graphql api)
Oh yes, you create a compute index
but if I input the name of the index, then I get: Query not valid: Attribute not found in schema: searchable
Check projectid & databaseid & collectionid ?
project, database and collection is ok
searchable is the index key, you need to pass attribute name
For now I don't know why you've 500 error
FYI
[
Query.search("name", query),
Query.search("description", query)
]
=> AND condition
Perhaps solution should be to create a function wich concat description and name on new attribute, create fulltext index on this new attribute, and search on it ?
if I use "name", then I get "Index not found". So I should have two separate indexes if I don't want to have that kind of attribute + function ? Both cases seem a bit unpractical, but ok...
Is your problem resolved or do you have further questions?
still have to try to implement the solution, but I believe it should work; no further questions
@Steven I try search on compute index (2 string fields) without success. Is this supposed to work, or do we need a single field for fulltext search?
Ya...you might need a full text index with only the search attribute
attribute with or without 's' ?
Without. If you get a 500, on self hosted, if you look at the appwrite logs, you'll see the error and it might say full text index is missing
Recommended threads
- trying to figure out how to activate my...
please help
- I'm experiencing a critical bug on Appwr...
Hey <@870607367597850624> team / support š I'm experiencing a critical bug on Appwrite Cloud that's blocking my production Flutter app. I've already filed GitH...
- Bug: TOTP MFA verification always fails ...
*Bug: TOTP MFA verify always returns `user_invalid_token` (Cloud 1.8.1, Frankfurt)** Project ID: `68dd48440003e537d849` SDK: `appwrite@18.2.0` (also tested wit...