Hello all, i am trying to do this request Query.search('text', params.search) given the index i posted although i get error that attribute does not exist
Any idea?
the first parameter to the search query is the ATTRIBUTE KEY you want to search on. The index key is only a name for the index so you can differentiate multiple indexes more easily
So in that case i have to do Query.search('text', params.search), Query.search('description', params.search) ?
I want search to be performed as OR not AND
what if i have multiple attributes in an full text key? how to grab this?
Since OR operations aren't supported yet, I suggest creating a new attribute that has all the data you want to search against. Then, create a full text index on that attribute
Thanks a lot
Recommended threads
- rxdb integration code not working
https://appwrite.io/blog/post/offline-first-journal This code does not work with rxdb and appwrite packages set to february releases nor newest releases
- Costom domain Issues
Hi Appwrite team We’re having issues verifying a custom domain. We added the required CNAME and CAA records to our DNS provider and waited for at least 2 days a...
- No domain visible after creating functio...
Saw this in docs yet i have no domain (Pro): ``` Generated domains In the Appwrite Console's sidebar, click Functions. Under the Domains tab, you'll find the g...