NevadaSam
05-24-2007, 12:15 PM
My database table has a FULLTEXT index for both col1 and col2.
When I do a match for either column by its self there is no problem.
However, when I try a match for both columns at the same time,
I get Error 1191: Can't find FULLTEXT index matching the column list.
SELECT *,
MATCH (col1, col2) AGAINST ('word1 word2')
AS score FROM tablename
WHERE MATCH (col1, col2) AGAINST ('+word1 +word2')
ORDER BY score DESCAny idea what could be wrong with the code?
Sam
;
When I do a match for either column by its self there is no problem.
However, when I try a match for both columns at the same time,
I get Error 1191: Can't find FULLTEXT index matching the column list.
SELECT *,
MATCH (col1, col2) AGAINST ('word1 word2')
AS score FROM tablename
WHERE MATCH (col1, col2) AGAINST ('+word1 +word2')
ORDER BY score DESCAny idea what could be wrong with the code?
Sam
;