Forum Moderators: coopster

Message Too Old, No Replies

mysql: what's the difference between MATCH and LIKE?

         

partha

3:54 am on Apr 11, 2005 (gmt 0)

10+ Year Member



is there any difference for search for a single word in a column? what about a phrase?

coopster

6:48 pm on Apr 11, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



MATCH ... AGAINST is used in full-text [dev.mysql.com] indexing and searching.

What really matters is how you are searching. The page How MySQL Uses Indexes [dev.mysql.com] and some FULLTEXT reading are in order before you make a decision about your columns and indexing.