mysql fulltext MATCH,AGAINST returning 0 results

后端 未结 1 1909
一个人的身影
一个人的身影 2021-01-22 05:37

I am trying to follow: http://dev.mysql.com/doc/refman/4.1/en/fulltext-natural-language.html

in an attempt to improve search queries, both in speed and the ability to o

相关标签:
1条回答
  • 2021-01-22 06:28

    By default certain words are excluded from the search. These are called stopwords. "a" is an example of a stopword. You could test your query by using a word that is not a stopword, or you can disable stopwords:

    • How can I write full search index query which will not consider any stopwords?

    If you want to also match prefixes use the truncation operator in boolean mode:

    *

    The asterisk serves as the truncation (or wildcard) operator. Unlike the other operators, it should be appended to the word to be affected. Words match if they begin with the word preceding the * operator.

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