I have lots of article store in MS SQL server 2005 database in a table called Articles-
'Articles (ArticleID, ArticleTitle, ArticleContent)'
Now I want some SP or SQL query which could return me similar Article against any user’s input (very much like ‘Similar Posts’ in blogs OR ‘Related Questions’ in stackoverflow). The matching should work on both ArticleTitle and ArticleContent. The query should be intelligent enough to sort the result on the basis on their relevancy.
Is it possible to do this in MS SQL Server 2005?
Something like this might work, a kind of ranking system. You would probably have to split the string in your application to build a SQL string, but I have used similar to build an effective site search.
You can then add/remove case statements from the order by clause to improve the list based on your data.