?
Solved

sql server freetextable rank

Posted on 2011-09-25
3
Medium Priority
?
385 Views
Last Modified: 2012-05-12
I am doing a search using SQL server freetextable. I would like to cut off the result set, where the ranking drops down steeply. How can I achieve this. For exg. if I do a search and the rank goes like this :
453
452
450
449
300
280
270

Then I would like to show results with rank > 300. Please help. thanks
0
Comment
Question by:TrialUser
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 39

Accepted Solution

by:
Aaron Tomosky earned 2000 total points
ID: 36596945
maybe a percent of the max?
So:
Where (rank/max(rank)>.7)
0
 

Author Comment

by:TrialUser
ID: 36598436
that will only give a percent with respect to the max(rank). i want to know where the percentage drop is steep. thanks
0
 
LVL 39

Assisted Solution

by:Aaron Tomosky
Aaron Tomosky earned 2000 total points
ID: 36599762
To compare to the next one in order is much harder than comparing to the max. You basically have to put the result set into a table, take the top value from that table, compare it to the next top, save the difference. Rbar (row by agonizing row). Much easier to do this in whatever programming language your app is in.

0

Featured Post

10 Questions to Ask when Buying Backup Software

Choosing the right backup solution for your organization can be a daunting task. To make the selection process easier, ask solution providers these 10 key questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Long way back, we had to take help from third party tools in order to encrypt and decrypt data.  Gradually Microsoft understood the need for this feature and started to implement it by building functionality into SQL Server. Finally, with SQL 2008, …
SQL Server engine let you use a Windows account or a SQL Server account to connect to a SQL Server instance. This can be configured immediatly during the SQL Server installation or after in the Server Authentication section in the Server properties …
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question