小编典典

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

sql

我正在尝试解决此错误:

1191-找不到与列列表匹配的FULLTEXT索引

询问:

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

当我尝试在我的multiforums网站中创建一个新线程时。


阅读 164

收藏
2021-04-22

共1个答案

小编典典

ALTER TABLE table ADD FULLTEXT index_name(column1);

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

2021-04-22