MySQL Fulltext Stopwords Rationale

前端 未结 1 979
无人共我
无人共我 2021-01-12 11:05

I am currently trying to develop a basic fulltext search for my website, and I noticed that certain words like \"regarding\" are listed as stopwords for MySQL fulltext searc

相关标签:
1条回答
  • 2021-01-12 11:55

    The stop words are just common words in the English language. In most cases, your search results will be more relevant -- and your indices will be smaller and faster -- if you don't index these words.

    You can edit the stop word list using the ft_stopword_file variable (or set it to '' to index all words as long or longer than ft_min_word_len) if that suits your needs better. You can also change the minimum indexed word length using the ft_min_word_len variable, which exists for the same reason.

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