Re: Thesaurus Problem
- From: "Jean-Pierre Riehl" <jean-pierre.riehl@xxxxxxxxxxxxxx>
- Date: Wed, 29 Aug 2007 14:06:46 +0200
Hi,
Can you provide us full DDL you used to create full-text catalog and index ?
Hold on, do not despair !
Jean-Pierre.
"Organic Man" <davidmcmillin@xxxxxxx> wrote in message news:1188385539.078829.282070@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Aug 28, 9:30 pm, "Hilary Cotter" <hilary.cot...@xxxxxxxxx> wrote:oops try this:
sp_configure 'show advanced options',1'
Reconfigure with Override
GO
sp_configure 'default full-text language'
GO
It looks like you need to edit tsenu.xml.
--
[...]
Hilary,
Thanks for your patience and assistance.
I edited tsenu.xml with Notepad as follows:
<XML ID="Microsoft Search Thesaurus">
<thesaurus xmlns="x-schema:tsSchema.xml">
<diacritics_sensitive>0</diacritics_sensitive>
<expansion>
<sub>Leydig</sub>
<sub>leydig</sub>
<sub>littre/sub>
</expansion>
<expansion>
<sub>vagus</sub>
<sub>pneumogastric</sub>
</expansion>
</thesaurus>
</XML>
In the save options, I was offered four formats: ANSI, Unicode,
Unicode, Big Endian, and UTF-8. I chose Unicode.
The new edited ts.enu.xml file is located in the MSSQL.1/MSSQL/FTData
folder. I also placed a copy in MSSQL.2/MSSQL/FTData.
I rebooted my system (Vista) and reopened Management Studio on the
Developer's Edition of Sql Server 2005.
I ran the following queries:
SELECT FullDocNo
FROM FullDocuments
WHERE CONTAINS(SectionText, 'littre') *** returned 6 rows ***
SELECT FullDocNo
FROM FullDocuments
WHERE CONTAINS(SectionText, 'leydig') *** returned 169 rows ***
SELECT FullDocNo
FROM FullDocuments
WHERE CONTAINS(SectionText, ' FORMSOF(THESAURUS, littre) ') ***
returned 6 rows ***
+++++++++++++++++++++++++++++++++
SELECT FullDocNo
FROM FullDocuments
WHERE CONTAINS(SectionText, 'vagus') *** returned 213 rows ***
SELECT FullDocNo
FROM FullDocuments
WHERE CONTAINS(SectionText, 'pneumogastric') *** returned 514 rows
***
SELECT FullDocNo
FROM FullDocuments
WHERE CONTAINS(SectionText, ' FORMSOF(THESAURUS, vagus) ') ***
returned 213 rows ***
I am getting the same results on my XP (SP2) machine running the
express editions of Management Studio and Sql Server 2005.
.
- Follow-Ups:
- Re: Thesaurus Problem
- From: Organic Man
- Re: Thesaurus Problem
- References:
- Thesaurus Problem
- From: Organic Man
- Re: Thesaurus Problem
- From: Hilary Cotter
- Re: Thesaurus Problem
- From: Organic Man
- Re: Thesaurus Problem
- From: Hilary Cotter
- Re: Thesaurus Problem
- From: Organic Man
- Re: Thesaurus Problem
- From: Hilary Cotter
- Re: Thesaurus Problem
- From: Organic Man
- Re: Thesaurus Problem
- From: Hilary Cotter
- Re: Thesaurus Problem
- From: Organic Man
- 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