MySQL’s Fulltext Relevance Ranking
MySQL's fulltext searching makes use of 'Term Vector Theory', which basically means calculating word distances using three dimensional vectors. Go here for a more thorough explanation of term vector theory.
As a bit of an excuse to have a mess about with the
plugin I just installed into WordPress, I thought that I would show MySQL's formula for fulltext searching here:

Where
is the weight calculated,
is the frequency of occurence of terms in row,
is the sum
for all terms in the same row,
is the number of unique terms in the row,
is the number of rows, and,
is the number of rows that contain the term.
For more information about MySQL's fulltext search ranking, take a look here at the MySQL Internals Manual...
About this entry
You’re currently reading “ MySQL’s Fulltext Relevance Ranking ,” an entry on chris ramsay
- Published:
- 10.28.06 / 10am
- Category:
- MySQL, Programming










No comments
Jump to comment form | comments rss [?] | trackback uri [?]