MySQL - Efficient search with partial word match and relevancy score (FULLTEXT)

后端 未结 2 1421
旧巷少年郎
旧巷少年郎 2020-12-15 18:42

How can I do a MySQL search which will match partial words but also provide accurate relevancy sorting?

SELECT name, MATCH(name) AGAINST (\'math*\' IN BOOLEA         


        
2条回答
  •  有刺的猬
    2020-12-15 19:07

    I obtained a good solution in this (somewhat) duplicate question a year later:

    MySQL - How to get search results with accurate relevance

提交回复
热议问题