Go Back   Velocity Reviews > Newsgroups > ASP Net
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

ASP Net - Non-noise words are incorrectly recognised as noise words.

 
Thread Tools Search this Thread
Old 08-23-2005, 02:23 PM   #1
Default Non-noise words are incorrectly recognised as noise words.


Hi.

I have an Sql server 2005 beta2 problem with the full-text index
functionality.

I have a table with a full text index. In the definition of the full-text
index, I have specified the neutral language. The problem domain specifies
that texts can be in arbitrary languages.

create fulltext index on mytable
(
myfield language 0x0
)
...

Then I insert a record containing the word "and" (which in Danish means
duck). When searching for that record

select * from mytable where contains(myfield, 'and')

nothing is returned, and I get the message,"Informational: The full-text
search condition contained noise word(s)."

Apperantly, it uses the noise-word list for english, when I insert records
and search on that field.
I thought that when I specify the language as 0x0, the full-text index
should be language neutral and that would mean that it doesn't filter out
noise words(because those are language specific). Am I mistaken, or is it an
Sql Server 2005 beta2 bug?

Thanks in advance,
Peter Strĝiman




Peter Strĝiman
  Reply With Quote
Old 08-23-2005, 02:26 PM   #2
Peter Strĝiman
 
Posts: n/a
Default Re: Non-noise words are incorrectly recognised as noise words.
Sorry. This was supposed to go to the Sql server group.

"Peter Strĝiman" <> wrote in message
news:%23SlBrX%...
> Hi.
>
> I have an Sql server 2005 beta2 problem with the full-text index
> functionality.
>
> I have a table with a full text index. In the definition of the full-text
> index, I have specified the neutral language. The problem domain specifies
> that texts can be in arbitrary languages.
>
> create fulltext index on mytable
> (
> myfield language 0x0
> )
> ...
>
> Then I insert a record containing the word "and" (which in Danish means
> duck). When searching for that record
>
> select * from mytable where contains(myfield, 'and')
>
> nothing is returned, and I get the message,"Informational: The full-text
> search condition contained noise word(s)."
>
> Apperantly, it uses the noise-word list for english, when I insert records
> and search on that field.
> I thought that when I specify the language as 0x0, the full-text index
> should be language neutral and that would mean that it doesn't filter out
> noise words(because those are language specific). Am I mistaken, or is it
> an Sql Server 2005 beta2 bug?
>
> Thanks in advance,
> Peter Strĝiman
>





Peter Strĝiman
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46