Hello, I created an index of type fulltext with multiple attributes. I'm using Query.search() but it's giving this error. Can you guys help me?
The first parameter to Query.search()
should be the attribute you want to search on
Wouldn't Query.search("body", "dog") search only in 'body'? What if i want to search 'dog' in the title at the same time?
if you want something like:
title contains dog OR subtitle contains dog OR body contains doc
you'll either need to make separate queries or create an attribute that has all of the data and search on that attribute
You might want to 👍🏼 this related issue: https://github.com/appwrite/appwrite/issues/2740
thank you!
Recommended threads
- Invalid document structure: missing requ...
I just pick up my code that's working a week ago, and now I got this error: ``` code: 400, type: 'document_invalid_structure', response: { message: 'Inv...
- custom domain with CloudFlare
Hi all, it seems that CloudFlare has blocked cross-domain CNAME link which made my app hostname which is in CloudFlare, unable to create a CNAME pointing to clo...
- 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...