php – SQL错误:1191 – 找不到与列列表匹配的FULLTEXT索引

前端之家收集整理的这篇文章主要介绍了php – SQL错误:1191 – 找不到与列列表匹配的FULLTEXT索引前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我正在尝试解决错误

1191 – Can’t find FULLTEXT index matching the column list

查询

SELECT t.*,t.username AS threadusername,u.username,MATCH (t.subject) AGAINST ('test123 test') AS relevance 
FROM 123test_threads t
LEFT JOIN 123test_users u ON (u.uid = t.uid) 
WHERE t.fid='2' AND t.tid!='4' AND t.visible='1' AND t.closed NOT LIKE 'moved|%' 
AND MATCH (t.subject) AGAINST ('test123 test') >= '2' 
ORDER BY t.lastpost DESC LIMIT 0,5

我试图在我的多功能论坛网站上创建一个新线程.

ALTER TABLE table ADD FULLTEXT index_name(column1);

尝试此操作以添加全文索引.

原文链接:https://www.f2er.com/php/133484.html

猜你在找的PHP相关文章