As I’m trying to understand SQL by playing around with the code a bit, I have run into this situation. I run this code
SELECT * FROM jobs WHERE MATCH ( title, location, description ) AGAINST ( 'New York designer')
and I get the right row results. However, if I ask myself, “okay so what if I want just look at one column?”
SELECT * FROM jobs WHERE match(location) against ('designer')
I get the error “Can’t find FULLTEXT index matching the column list”. Why? I’m not sure what this error means. I just remove two words and commas.
I alter the jobs table to use the MyISAM engine. Does that mean it’s searchable or “FULLTEXT“? Since InnoDB isn’t searchable, is that correct to say?
But now, when isolated to searching to one column, it’s a problem?
Let me know if this makes sense, I will re-edit.
FULLTEXTindexes are a feature of theMyISAMstorage engine.You can’t match against the location column unless there is a
FULLTEXTindex on that column alone.http://dev.mysql.com/doc/refman/5.0/en/fulltext-restrictions.html