Mysql 全文检索问题,MATC,AGAINST不给力
在mysql5中,设置好了FULLTEXT类型,
SELECT * FROM `news` WHERE match (title,content) against ('you') 没结果
库数据为:
id title content
1 you ,ps:me yes but ,i nod heat head.fdsaf
2 you must to .. if you want to tell me ,please .
SELECT * FROM `news` WHERE match (title,content) against ('you') 没结果
库数据为:
id title content
1 you ,ps:me yes but ,i nod heat head.fdsaf
2 you must to .. if you want to tell me ,please .
作者: crf_net 发布时间: 2011-06-04
少于三个字母的单词会忽略掉吧
作者: rucypli 发布时间: 2011-06-04
或者出现频率大于某个值的也会忽略掉
总之mysql的全文索引不好用
总之mysql的全文索引不好用
作者: rucypli 发布时间: 2011-06-04
忽略?不至于吧。我在试试,我知道mysql 对中文全文检索不好用,功能需要也得努力弄懂这个。
作者: crf_net 发布时间: 2011-06-04