全文搜索ERROR,Can't find FULLTEXT index matching the column list
2017-10-16 12:00:17
6s
  • 访问次数: 16
  • 注册日期: 2017-09-15
  • 最后登录: 2018-11-10
11:58:45 ERROR: SQLSTATE[HY000]: General error: 1191 Can't find FULLTEXT index matching the column list<p>The sql is: SELECT *, ((1 * (MATCH(title) AGAINST('"|123|" ' IN BOOLEAN MODE))) + (0.6 * (MATCH(content) AGAINST('"|123|" ' IN BOOLEAN MODE))) ) as score FROM eps_search_index wHeRe (MATCH(title,content) AGAINST('+"|123|" ' IN BOOLEAN MODE) >= 1 OR title like '% 123 %' OR content like '% 123 %') AND status = 'normal' AND addedDate <= '2017-10-16 11:58:45' oRdEr bY `score` desc,`editedDate` desc </p> in lib/base/dao/dao.class.php on line 1319, last called by lib/base/dao/dao.class.php on line 718 through function sqlError.

in  framework/base/router.class.php  on line  2194  when visiting  /index.php?words=123&m=search&f=index


该从哪里入手来解决?

沙发
2017-10-16 13:19:03
6s
  • 访问次数: 16
  • 注册日期: 2017-09-15
  • 最后登录: 2018-11-10
原只有的title, content的索引,增加title,和content单独索引就正常了——解决
1/1
联系我们

联系人:ZSITE交流群

电话/微信:

Email:

QQ:

地址:青岛市黄岛区井冈山路157号中南金石国际广场A座3205室