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
- context deadline exceeded
Hi, in one of my projects i continuously receive context deadline exceeded when trying to reach users API from my local machine: https://fra.cloud.appwrite.io/v...
- Searching by attribute "name" requires a...
I have a table "products" with a few columns I'm trying to search by, but I get this error: ```json { "message": "Searching by attribute \"name\" requires a...
- Issue with usage
I have a weird problem, my project on appwrite was using avarage 5-10k reads a day, it was okay, but suddenly last 7 days, reads are about 60k a day, the code h...