The way that I have it right now is actually something like:
. . . WHERE column_name LIKE '%a%' AND column_name LIKE '%b%' and column_name LIKE '%c%'
except instead of the LIKE's, I used regular expressions for each of those.
It does grow very fast (factorially) no matter which of the two ways you do it, which is not good because if you search many keywords, it will crash inevitable. So obviously, both of these cases should not be used.
What do you suggest I can do in this situation, when I'm using MySQL, when I want to search entries where all keywords being inputted must all appear, but in any order?
Also, do you know what I can do to rank my results? such as, if 'a', 'b', 'c,' appears more times, show those results first and then those results with less occurrences?