Re: Thesaurus Problem
- From: Organic Man <davidmcmillin@xxxxxxx>
- Date: Thu, 30 Aug 2007 07:25:14 -0700
On Aug 30, 7:37 am, "Jean-Pierre Riehl" <jean-pierre.ri...@b-e-w-i-s-
e.fr> wrote:
Hi ,
Go back to the begining, Let's try the empirical way.
Can you create a table with a varchar(max) column, for example, populate it
with 'run' and 'jog' terms.
Then create a Full-Text Index, forcing indexation language.
CREATE FULLTEXT INDEX on AnotherTryTable
( [Description] LANGUAGE 1033)
KEY INDEX PK_ThePK
ON NewCatalog
Start with a fresh tsENU.xml file and ensure comments tag <!-- --> are
removed.
Try to search against 'run' or 'jog' and tell us your results.
--
Jean-Pierre Riehlhttp://blog.djeepy1.nethttp://www.bewise.fr
Hi Jean-Pierre,
Here is what I did:
CREATE TABLE dbo.AnotherTryTable
(ID int Primary Key IDENTITY(1,1) NOT NULL,
Description nvarchar(Max) NOT NULL)
INSERT INTO [dbo].[AnotherTryTable] ([Description])
VALUES ('run')
INSERT INTO [dbo].[AnotherTryTable] ([Description])
VALUES ('run')
INSERT INTO [dbo].[AnotherTryTable] ([Description])
VALUES ('run')
INSERT INTO [dbo].[AnotherTryTable] ([Description])
VALUES ('run')
INSERT INTO [dbo].[AnotherTryTable] ([Description])
VALUES ('jog')
INSERT INTO [dbo].[AnotherTryTable] ([Description])
VALUES ('jog')
INSERT INTO [dbo].[AnotherTryTable] ([Description])
VALUES ('jog')
INSERT INTO [dbo].[AnotherTryTable] ([Description])
VALUES ('jog')
CREATE UNIQUE INDEX ui_AnotherTry ON AnotherTryTable(ID);
CREATE FULLTEXT CATALOG NewCatalog AS DEFAULT;
CREATE FULLTEXT INDEX on AnotherTryTable
( [Description] LANGUAGE 1033)
KEY INDEX ui_AnotherTry
ON NewCatalog
I created a new tsENU.xml using Dreamweaver, first a plain xml and
then with the "Include Unicode Signature (BOM)" selected. Figured
this is a good idea since the MSDN documentation insists on BOM.
I rebooted my system after any changes to the xml file, but always the
same results:
SELECT Description
FROM AnotherTryTable
WHERE CONTAINS(Description, 'run'); *** 4 results ***
SELECT Description
FROM AnotherTryTable
WHERE CONTAINS(Description, 'jog'); *** 4 results ***
SELECT Description
FROM AnotherTryTable
WHERE CONTAINS(Description, ' FORMSOF(THESAURUS, run) ') *** 4
results ***
.
- Follow-Ups:
- Re: Thesaurus Problem
- From: Organic Man
- Re: Thesaurus Problem
- References:
- Thesaurus Problem
- From: Organic Man
- Re: Thesaurus Problem
- From: Jean-Pierre Riehl
- Thesaurus Problem
- Prev by Date: Re: Thesaurus Problem
- Next by Date: Re: Thesaurus Problem
- Previous by thread: Re: Thesaurus Problem
- Next by thread: Re: Thesaurus Problem
- Index(es):
Relevant Pages
|
Loading