How Mysql full text search relevances compute?

How does MySQL compute the relevance of results of a full-text search? I know as it's documented:

Relevance is computed based on the number of words in the row, the number of unique words in that row, the total number of words in the collection, and the number of documents (rows) that contain a particular word.

But how these parameters come into those numbers?


这里是全文算法的解释http://forge.mysql.com/wiki/MySQL_Internals_Algorithms#Full-text_Search

链接地址: http://www.djcxy.com/p/75278.html

上一篇: 用全文搜索表格和链接的表格

下一篇: Mysql全文搜索相关性如何计算?