MySQL Fulltext searching and minimum search term length

淺唱寂寞╮ 提交于 2019-12-06 07:25:34

ft_min_word_len is a system variable, that has to be set at the startup of the MySQL server.

This can be done passing parameters on the command-line used to start MySQL, or (recommended, I'd say), using a file containing options -- generally, for example, something like /etc/my.cnf or /etc/mysql/my.cnf should do the trick.


For more informations about setting system variables, you can take a look at the following section of the manual :


Also, don't forget that you'll have to rebuild your fulltext index, after changing that parameter, so the new value is taken into account.

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