How to reset stop words in MYSQL?

前端 未结 5 2001
余生分开走
余生分开走 2020-12-10 16:36

I want to reset stop word list in mysql for FULLTEXT search. I have installed WAMP Server in my system which have phpmyadmin to access mysql. But I dont know how to reset st

5条回答
  •  生来不讨喜
    2020-12-10 17:05

    The list of stopwords that MySQL ships with (at least for MyISAM) can be found in MySQL's source, in myisam/ft_static.c.

    Note also that these are only the 'English' stopwords. Presumably, stopwords for other languages are defined elsewhere...

    You can override or disable the default stopword list using the ft_stopword_file directive as pointed out in the comments. Full documentation here.

提交回复
热议问题