Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 Should I strip noise words ?

Author  Topic 

Corobori
Posting Yak Master

105 Posts

Posted - 2009-03-11 : 21:28:37
I managed to define my 1st full text search index in my db. My problem is noise words. According to the BOL they are used when defining the index. Fine. I defined my index using the language spanish in my columns. My problem is now when running a query containing a so called Noise word.

This query returns 47 rows

SELECT * FROM vwSitiosSchema2009
WHERE CONTAINS(Sd_Desc, '"diseño*" AND "web*" ', LANGUAGE 3082);


This query returns 0 row

SELECT * FROM vwSitiosSchema2009
WHERE CONTAINS(Sd_Desc, '"diseño*" AND "web*" AND "dos"', LANGUAGE 3082);


This last query contains a Noise word, dos, as define in noiseESN.txt. From what I read the search should ignore it and retrieve the same number of rows as the 1st query. What could I be doing wrong ?

jean-luc
www.corobori.com

guptam
Posting Yak Master

161 Posts

Posted - 2009-03-13 : 01:14:42
I read a solution on SSC today about this; this guy said he read in the noise.txt file for the language he was working with and stripped out all the noise words before submitting to SQL Server. Sorry I have not used FTS so I don't know much about it :(.

Mohit.
Go to Top of Page

Corobori
Posting Yak Master

105 Posts

Posted - 2009-03-13 : 14:07:28
quote:
Originally posted by guptam

I read a solution on SSC today about this; this guy said he read in the noise.txt file for the language he was working with and stripped out all the noise words before submitting to SQL Server. Sorry I have not used FTS so I don't know much about it :(.



I heard that one too. I guess I'll have to go that way too.

jean-luc
www.corobori.com
Go to Top of Page
   

- Advertisement -