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
- 500 Internal Error when trying get to my...
When I click on my database row in the Cloud console, the page returns a **500 Internal Error** instead of opening the database dashboard. This completely block...
- Cannot delete rows, deleted relationship...
I had defined a two-way relationship between 2 tables, then I deleted the relationship column I tried re-creating the column but I started to get errors about t...
- Maximum Row Size
I'm busy creating a little side project which uses Appwrite as the Backend. I scraped a site and uploaded the data to the database, but I've reached 5000 rows (...