?
Solved

SQL Full Text Search - Show which result/row hit against query

Posted on 2011-09-04
2
Medium Priority
?
376 Views
Last Modified: 2012-05-12
I have a FTS query - allowing the user to enter multiple search criteria against a blob/varbinary(max) field- is there a way, in the result set - to show which search criteria resulted in each returned row?
0
Comment
Question by:tbaseflug
[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 Comments
 
LVL 51

Accepted Solution

by:
Mark Wills earned 2000 total points
ID: 36484216
Not really...

If there is a list of criteria it is very hard to determine which one was used in FTS for the match.

You can get a rank, but still doesn not say which of the criteria was successful, just that any one of them was (and pretty sure that as soon as one is, the others dont count anymore). Nor can you see which terms were superfluous to the search criteria.

You can have a look at the type of search scenarios : http://msdn.microsoft.com/en-us/library/cc879300.aspx and how they might be  ranked : http://msdn.microsoft.com/en-us/library/ms142524.aspx

But, the only real answer to your question is "no".

0
 
LVL 46

Expert Comment

by:aikimark
ID: 36484707
Post-closure thought.  You might post-process the results applying the individual comparison expressions.  It would get very complicated very quickly with the complexity of boolean operators.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.
Suggested Courses

771 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