how to do OR on Query.search("title", "key words")
?? i want to search if a String attribute
contain "word1" or "word2" .
if it was Query.equal("title", ["Iron Man","Super man"])
i could have used a List. but for full text search ,i cant use list. so how to do a get all documents in which the 'title' contains 'word2' or 'word2'
Query ?? do i have to do seperate query for each words and then combine the results ?
So search uses mariadb's full text search. As such, you can pass space separated keywords for the search value.
FYI, https://github.com/appwrite/appwrite/discussions/5005#discussioncomment-4681079
Recommended threads
- Type Mismatch in AppwriteException
There is a discrepancy in the TypeScript type definitions for AppwriteException. The response property is defined as a string in the type definitions, but in pr...
- What Query's are valid for GetDocument?
Documentation shows that Queries are valid here, but doesn't explain which queries are valid. At first I presumed this to be a bug, but before creating a githu...
- Appwrite exception: user_unauthorized, t...
After refreshing the app it is working perfectly