Can an Sql 2008 full text predicate combine "phrase" with FORMSOF()?
-
I am trying to get SQL 2008 full text index to search for a phrase (multiple words in double quotes that should appear in sequence) while allowing thesaurus equivalents of the words to be matched. (Example, a search for "silver bullet" with a thesaurus entry saying bullet==slug should match "silver bullet" or "silver slug" but should not match "silver and gold slug") The closest I got was using: where CONTAINS([FreeTextColumn], 'FORMSOF(THESAURUS,"silver bullet")') But the results I get seem to be equivalent to: where CONTAINS([FreeTextColumn],' "silver bullet" OR slug ') rather than: where CONTAINS([FreeTextColumn],' "silver bullet" OR "silver slug" ')
-
Answer:
Thanks for the links Macklin. Unfortunately, from what I have read there, the details of combining FORMSOF with a quoted phrase are not discussed. After many experiments, I was so far unable to find a full text predicate that works well with this combination. I'd love to find out that I am simply missing something but at this point I be lieve this is a shortcoming of Microsoft's implementation of free text search in SQL 2008.
Ofer Tal at Quora Visit the source
Related Q & A:
- How Can We Watch The Full Movie Of Breaking Dawn?Best solution by breakingdawn-themovie.com
- How To Get Full Text From RSS?Best solution by Stack Overflow
- How to weight in full-text search?Best solution by Stack Overflow
- How can I get a full ride scholarship to a college?Best solution by Yahoo! Answers
- How can I get a full scholarship for masters study?Best solution by excite.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.