0
我在SQL 2012中有一个表,我正在执行全文搜索。匹配的词很接近
其中一条记录作为较大字符串的一部分包含文本'试用您的系统'。
问题是,如果我在目标字符串中搜索太靠近的两个单词,我不会匹配。
select * from mytable where contains(*,'trying') -- match
select * from mytable where contains(*,'trying and out') -- no match
select * from mytable where contains(*,'trying and your') -- no match
select * from mytable where contains(*,'trying and system') -- match
我知道,我可以封闭在双引号搜索模式一个确切的字符串搜索,但是这不是真的我后。
任何建议如何我可以使所有上述搜索条件匹配?
谢谢。
谢谢基思。我认为你是对的。我偶然发现了这篇文章,这很有趣。 http://stackoverflow.com/a/10451332/494635 –