I deleted all noise words and chars in noiseXX..txt files. I know that it is
not a noise word issue.
"Hilary Cotter" <hilary.cotter@gmail.com>, haber iletisinde sunlari
yazdi:fced9e28-2f5a-4111-b32a-7db63180edf0@q77g2000hsh.googlegroups.com...
you need to prepend a noise word on your query, ie:
use pubs
GO
create table fttable (pk int not null identity constraint fttablepk
primary key,
charcol char(200))
GO
insert into fttable values('516.32')
insert into fttable values('T17.1.516.32')
GO
sp_fulltext_database 'enable'
GO
create fulltext catalog test as default
GO
create fulltext index on fttable(charcol) key index fttablepk
GO
select * from fttable where contains(*,'516.32')--hit to 516.32
select * from fttable where contains(*,'1.516.32.1')--hit to
T17.1.516.32
select * from fttable where contains(*,'1.516.32')--hit to
T17.1.516.32
On Feb 1, 3:02 am, "in da club" <s> wrote:
in wrote on Wed, 6 Feb 2008 09:48:07 +0200:
> I deleted all noise words and chars in noiseXX..txt files. I know that
> it is not a noise word issue.
Why are you using * at the start of terms? FTS just ignores that, it's not
part of the documentation.
As to why it's not working, no idea. After you deleted the noise words did
you do a full rebuild?
Dan
> "Hilary Cotter" <hilary.cotter@gmail.com>, haber iletisinde sunlari yazdi:fced9e28-2f5a-4111-b32a-7db63180edf0@q77g2000hsh.googlegroups.com.
> ..
> you need to prepend a noise word on your query, ie:
> use pubs
> GO create table fttable (pk int not null identity constraint fttablepk
[quoted text clipped - 8 lines]
> T17.1.516.32 select * from fttable where contains(*,'1.516.32')--hit to
> T17.1.516.32
> On Feb 1, 3:02 am, "in da club" <s> wrote:
>> I have a table which has a record T17.1.516.32
>> I try
>> SELECT Urun_Ad as guUrun_Ad
>> FROM TBL_URUNLER
>> WHERE ( (CONTAINS(Urun_Ad, '"*t17.1.516.32*"' )
>> ))
>> it returns T17.1.516.32
>> i try
>> SELECT Urun_Ad as guUrun_Ad
>> FROM TBL_URUNLER
>> WHERE ( (CONTAINS(Urun_Ad, '"*1.516.32*"' )
>> ))
>> it returns
>> T17.1.516.32
>> and i try
>> SELECT Urun_Ad as guUrun_Ad
>> FROM TBL_URUNLER
>> WHERE ( (CONTAINS(Urun_Ad, '"*516.32*"' )
>> ))
>> it returns nothing. How can i solve the problem. i need like operator
>> task in fts.
Hilary Cotter - 06 Feb 2008 16:25 GMT
Add them back in.
Basically SQL FTS considers the * to be noise, so if what you are
looking for is also noise SQL FTS will be unable to tell them apart.
> in wrote on Wed, 6 Feb 2008 09:48:07 +0200:
>
[quoted text clipped - 67 lines]
>
> - Show quoted text -