MySQL full-text stopwords problem

五迷三道 提交于 2019-12-05 18:33:19

The answer is IN BOOLEAN MODE . If you use boolean mode then the mysql will ignore that the key is present in more then 50% of the rows. In the same time it has a very strong and useful ability: AGAINST ('*key*').

Could it be because auto-moto contains a "-" character which according to http://dev.mysql.com/doc/refman/5.0/en/fulltext-boolean.html performs a NOT search, so all rows with "auto" but NOT "moto"

try searching for "auto moto"

also could you post the actual SQL you are using, might help in diagnosing the problem

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!