I want to search a string that is equals or partially matched between multple attributes. For example I type the text "John" and I want to search that string in the name, surname, email fields. How can I do that, should I create a fulltext index with these 3 attributes (ASC or DESC or both)?
The best approach would be to create another field named search within it add all the values you want to search separated by space.
Then add fulltext index only to that one.
The reason is that the fulltext index uses MariaDB full-text search and this way it works better.
Recommended threads
- Returned columns when Query.select is us...
Hello, I am noticing that whatever i put in Query.select, the returned data will always contain the following fields ` "total": 1, "rows": [ { ...
- Does appwrite supports increasing the va...
I am building a chat application where user message needs to increased on every row creation. For this is there any increament feature?
- Broken Appwrite can’t make functions nor...
Hii guys, I was having this issue with my locally hosted Appwrite, I can’t create functions ( both template and manual), I can’t make a custom domain ( like in ...