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
- Server side row delete error : "Server E...
when i try to delete the recored this error come and also there one things i have created the relationship with other table then deleted the column and still th...
- Why TablesDB ListRows function does not ...
When I try to list the rows with queries, there is no column data included in the returned value with forced me to fetch the items one-by-one with ID (which was...
- Errore 403
Ho errore 403 ma il package name è corretto