views:

88

answers:

2

I am running a small website wherein I would like to make a functionality like Related Links section.

For that I created fulltext catalog and index.

So far I tried many ways to create search query which behaves like google, but I would say i was not even 10% close to what google is doing. During my research what i found was only following query was pulling good records.

Select col1, col2
from MyTable
Where
FREETEXT(col1,  'User Passed Search Text')

Has anyone has good way to create a FullText Search Query which can help in getting better related records for given text?

Thanks

+1  A: 

Seemsthe fulltext topic has been discussed quite a bit: Stackover Flow Pros and Cons of full text search types. I might suggest reading over that, as the query you're trying above doesn't even seem to be working that well.

Frederico
Hi Frederico, I didn't found any useful answer in that. In case you have created any query in past which was helpful in searching related records, could you please share with me. What i am looking for is a simple mechanism to find related records based on user entered search text.Thanks
dotnetguts
+1  A: 

Take a look at this article, you might find it useful

http://www.sqlservercentral.com/articles/Full-Text+Search+(2008)/64248/

Roger

Roger Maynard