MySQL Fulltext Search, increase minimum character

前端 未结 1 1748
春和景丽
春和景丽 2020-12-19 13:30

I\'m trying to do MySQL fulltext search using the following query:

SELECT * FROM files WHERE MATCH(title) AGAINST ($q) limit $limit

The pro

相关标签:
1条回答
  • 2020-12-19 14:09

    Check this page in the documentation -- basically you set ft_min_word_len=3 (or 2), restart the server, and rebuild your FULLTEXT indexes.

    0 讨论(0)
提交回复
热议问题