title: What is the best algorithm for finding related post?
body: <p>Basically this is a database and query question. How do you implement related post in your site, suppose you have this table:</p>
  
  <pre><code>+------+        +------+
  + Post +        + Tags  +
  -------- N : M  --------
  </code></pre>
  
  <p>where post have the body and link m:n to tag. This is a very common scenario of implement tag and post.</p>
  
  <p>so, How do you implement related post in your site?</p>