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
- Any way to temporarily bypass the email ...
Hey guys, any way to bypass the email verification to use the accounts again? i need to recover some projects that due to recent changes have been stopped, and ...
- Collections list not showing up when try...
I'm trying to create new relationship attribute but both one way and two way relationship is not showing up collections list to connect with my relationship att...
- I have try to use the appwrite in to the...
Invalid Origin. Register your new client (oailedjdbkhlkakmnnapoonllbnfmfij) as a new Web (Chrome Extension) platform on your project console dashboard