Mysql
 SQL >> Base de données >  >> RDS >> Mysql

Pourquoi ft_min_word_len ne s'applique pas sous Ubuntu MySQL

La longueur minimale est contrôlée par ft_min_word_len, mais ft_stopword_file peut ignorer certains mots.

  • Définissez ft_min_word_len à 2.
  • Ajoutez ft_stopword_file='path/to/stopword_file.txt', éventuellement vide.

Redémarrez MySQL. Si vous modifiez ft_min_word_len, reconstruisez l'index ou réparez la table pour appliquer le changement.