Hi,
I am trying to customize SPS's search, it goes well with a little problem,
My web part finds the documents that contains a specific word,
But if my Search phrase is a noise word (for example "one", "and", "is",
"there",......etc) it generates an exception.
I tryed solve my problem by placeing all noise words in an array and check
if my search phrase is not one of the noise words, like this:
for(i=0; i<MyArray.Length; i++)
if(MyTextBox.Text == MyArray.ToString())
{
i = MyArray.Length;
IsNoiseWord = true;
}
if(IsNoiseWord == False)
{
....searching for document by using QueryProvider and CONTAINS
}
assume that one of my documents contains "Hi Honey, There is a test" and you
searching for "There is"
it generate same Exception again, WHY?
"There is" is not a noise word, both "there" and "is" are noise words but
"there is" is not a noise word.
but you search for "There is a test" , everything goes well and finds the
document
I am confused, please help me , how must i solve it?
Hilary Cotter - 22 Jul 2006 01:37 GMT
the best solution to this is to remove all noise words from your noise word
list and put a single space there. Then rebuild your catalogs.

Signature
Hilary Cotter
Director of Text Mining and Database Strategy
RelevantNOISE.Com - Dedicated to mining blogs for business intelligence.
This posting is my own and doesn't necessarily represent RelevantNoise's
positions, strategies or opinions.
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
> Hi,
>
[quoted text clipped - 31 lines]
>
> I am confused, please help me , how must i solve it?
Medes - 22 Jul 2006 17:06 GMT
Thank you ,
I did not understand exactly what you mean,
Do you mean i remove noise words under C:\Program Files\Microsoft SQL
Server\MSSQL\FTDATA\SQLServer\Config\
which file?
can you explain a little more thank you so much.
> the best solution to this is to remove all noise words from your noise word
> list and put a single space there. Then rebuild your catalogs.
[quoted text clipped - 34 lines]
> >
> > I am confused, please help me , how must i solve it?
Hilary Cotter - 23 Jul 2006 03:28 GMT
Exactly, your ip reveals you are from Sweden so it should be noise.sve, stop
mssearch, open up noise.sve in a text editor , remove all the words, enter a
single space, save it as noise.sve and then start up search and rebuild your
catalog.

Signature
Hilary Cotter
Director of Text Mining and Database Strategy
RelevantNOISE.Com - Dedicated to mining blogs for business intelligence.
This posting is my own and doesn't necessarily represent RelevantNoise's
positions, strategies or opinions.
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
> Thank you ,
> I did not understand exactly what you mean,
[quoted text clipped - 51 lines]
>> >
>> > I am confused, please help me , how must i solve it?