match() against() doesn't work all the time

╄→гoц情女王★ 提交于 2019-12-11 11:21:38

问题



so I was trying this simple query : http://sqlfiddle.com/#!2/f3c5e/2
full text search does work with some words but doesn't with others .
words that work : eeeee Godgo
words that doesn't work : Said saw
can someone tell me the reason for this different behavior?


回答1:


the minimum and maximum word length full-text parameters apply: innodb_ft_min_token_size and innodb_ft_max_token_size for InnoDB search indexes, and ft_min_word_len and ft_max_word_len for MyISAM ones.

http://dev.mysql.com/doc/refman/5.6/en/fulltext-boolean.html

The minimum default length is 4 i think



来源:https://stackoverflow.com/questions/19162158/match-against-doesnt-work-all-the-time

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