wrote:
> I want to implement a "similar articles" feature.
> By this I mean when an article is shown,
> I want to display all the similar articles based on that article.(10
> per page).
>
> Now how do I calculate the similarity of 1 article with all the 50000
> articles ?
>
> I dont want articles from the same section only.
> Since the search result has to be very fast,
> Can I create some algorithm that will look through all the fields in
> each row of the
> articles table and assign a weight/checksum to it.
Check out the CPAN module Algorithm:

iff.
--
Gunnar Hjalmarsson
Email:
http://www.gunnar.cc/cgi-bin/contact.pl