Taylor Hawkes
on
Apr 14, 2022
Speeding Up MySQL LIKE "%%" Query Using FULLTEXT Index.
So I often find myself in a spot where I need to run a query with a where column like "%search here%". But in MySQL these queries are slow and you can't use a traditional index to help speed them up. In this writeup I walk through a real live example of how I added FULLTEXT index to help speed up a query and still get that same results returned as if you used the like "%search here%" query.