开发者

SQL Server 2005 Full-text search: Noise Words

Using ContainsText, If I search: "Report Part 1" in quotes it returns the correct result (Report Part 1). However, if I search: Report Part 1 it gives me zero results.

My understanding was that full-text would take out the 1 as a noise 开发者_如何学运维word, and then do a search for contains Report and Part. I assumed that the results would give me Report Part 1, Report Part 2, etc, not zero results.

Can anyone give me insight as to why full text search is working this way?


This might be due to SQL Server filtering out searches with noise words. What happens if you enable 'transform noise words'?

sp_configure 'show advanced options', 1
RECONFIGURE
GO
sp_configure 'transform noise words', 1
RECONFIGURE
GO

This makes SQL Server transform all noise words in your query to a '*'.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜