Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / Other Technologies / Full-Text Search / October 2007

Tip: Looking for answers? Try searching our database.

Keyword frequency skewing results

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
malbroadbent@hotmail.com - 24 Oct 2007 13:59 GMT
Hi

I must be missing something obvious. I'd like to write a query that
ranks the row containing the most unique keywords first, rather than
the row with the most keywords.

1) my user enters "red green blue"
2) my query include somthing like freetexttable (xxx,xxx, 'red green
blue'  )

I would like the top-ranked result to be

".. ... red.. green .. .. blue... .. "

not

"red red red green purple orange red"

Currently the density of the "red" keyword in the second row is giving
it top rank. This isn't right. What am I missing? Is there a way to
limit the impact of high keyword occurrency or change the ranking
method?

Thanks.
Simon Sabin - 24 Oct 2007 20:31 GMT
Hello

I'm afraid it is right. Thats how the ranking is supposed to work.

Unfortunately there is no hitcount mechanism in full text to be able to rank
in the way you want.

Simon Sabin
SQL Server MVP
http://sqlblogcasts.com/blogs/simons

> Hi
>
[quoted text clipped - 19 lines]
>
> Thanks.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.