I am using SQL Server 2008 full-text search engine on my website. I have a search SP that shows results sorted by ranking.
I split the search string and pass it to the FTS query engine, for example, (the search string is “test search”:
("*test*" ~ "*search*") OR ("*test*" OR "*search*").
If the result string has a “test search” of the string and the other has “check something else”. The latter is rated higher.
I don’t understand how this can be - obviously, the phrase “test search” is closer. I believe this has something to do with how I pass the test string to the FTS. Any ideas? Suggestions?
source share