Re: Thesaurus Problem
- From: "Hilary Cotter" <hilary.cotter@xxxxxxxxx>
- Date: Mon, 27 Aug 2007 22:49:23 -0400
Did you save your thesaurus file with Unicode encoding? After SP 2 it must
be saved as a Unicode file.
--
RelevantNoise.com - dedicated to mining blogs for business intelligence.
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
"Organic Man" <davidmcmillin@xxxxxxx> wrote in message
news:1188250168.087879.56150@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I am trying to get the full-text search thesaurus to work in Sql
Server 2005 Express edition. I live in the USA so I assume the
tx.ENU.xml is the appropriate file to modify. I used Notepad to
modify the tx.ENU.xml file and saved as unicode:
<XML ID="Microsoft Search Thesaurus">
<thesaurus xmlns="x-schema:tsSchema.xml">
<diacritics_sensitive>0</diacritics_sensitive>
<expansion>
<sub>littre</sub>
<sub>leydig</sub>
</expansion>
<replacement>
<pat>NT5</pat>
<pat>W2K</pat>
<sub>Windows 2000</sub>
</replacement>
<expansion>
<sub>run</sub>
<sub>jog</sub>
</expansion>
</thesaurus>
</XML>
I closed Management Studio and reopened to allow MSFTESQL service to
restart. Then I ran these queries:
SELECT FullDocNo
FROM FullDocuments
WHERE CONTAINS(SectionText, 'littre') *** returned 3 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 ***
Thus the Thesaurus does not seem to be working since it should have
returned at least 169 rows. I rebooted my entire system to make sure
Sql Server is starting fresh.
Any help in sorting this out will be greatly appreciated.
.
- Follow-Ups:
- Re: Thesaurus Problem
- From: Organic Man
- Re: Thesaurus Problem
- References:
- Thesaurus Problem
- From: Organic Man
- Thesaurus Problem
- Prev by Date: Thesaurus Problem
- Next by Date: Re: Thesaurus Problem
- Previous by thread: Thesaurus Problem
- Next by thread: Re: Thesaurus Problem
- Index(es):
Relevant Pages
|
Loading