This project is read-only.

Related Posts Logic

Topics: Controls
Jun 3, 2008 at 2:34 PM

Can anyone shed some light on how the Related Posts section works? I cannot find the logic in the relatedposts.cs and therefore assume it is within the blogengine core (which I cannot access). It appears to use keywords but how does it choose the word? How does it rank the relevancy??

Thanks in advance.
Jun 3, 2008 at 7:04 PM
Take a look at BuildResultSet function here
Jun 3, 2008 at 10:07 PM
To highlight, Related Posts works through searching algorithm. It takes the post title and category of the current post as search term. The rank relevancy works this way: if search terms is found in post title, it is weighted 20. Otherwise it is weighted 1. The resultset then is sorted based on rank, higher on top.

Agus Suhanto