all groups > sql server full text search > july 2005 >
You're in the

sql server full text search

group:

SQL 2005 CTP - How can I get a full Thesaurus



SQL 2005 CTP - How can I get a full Thesaurus wkbia
7/21/2005 7:26:13 AM
sql server full text search: How can I get and install a full Thesaurus into SQL Server 2005 CTP?

Thanks in advance!

Wayne
Re: SQL 2005 CTP - How can I get a full Thesaurus Hilary Cotter
7/21/2005 12:08:21 PM
there is no full thesaurus. Basically many people would be upset if they
started getting unexpected results coming back in their searches. So MS
hands you a sample and has you customize it.

You can find it at C:\Program Files\Microsoft SQL
Server\MSSQL.1\MSSQL\FTData

--
Hilary Cotter
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
[quoted text, click to view]

Re: SQL 2005 CTP - How can I get a full Thesaurus wkbia
7/21/2005 6:26:01 PM
That's a lot of work; can't expect a developer to be a grammer grad as well.
It would be nice if they supplied a full English thesarus that could be put
online and modified as needed as I think more people are upset that they are
not getting the results they expect from a thesarus search, this is why
they're doing it. Inflectional searches seem to be fully functional and
releasing a full-text thesarus search should be fully functional as well.

I think I seen a post from you stating that you could get a thesarus from
Word. Is this true and if so, can you tell me how I can obtain and install it.

Thank you Hilary. I seen a lot of replies from you and I'm sure there are
many who appreciate that you are doing this as I do.

With best regards,

Wayne


[quoted text, click to view]
Re: SQL 2005 CTP - How can I get a full Thesaurus Hilary Cotter
7/21/2005 10:27:17 PM


--
Hilary Cotter
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
[quoted text, click to view]

Re: SQL 2005 CTP - How can I get a full Thesaurus wkbia
7/22/2005 8:47:02 PM

I tried updating the tsENG.xml file but can't seem to get a thesaurus search
to return a result other then the key word. car returns car, auto returns
auto. Can you recommend anthing?

The query:

SELECT name
FROM dbo.categories
WHERE freetext(name, 'car')

SELECT name
FROM dbo.categories
WHERE contains(name, 'FORMSOF(THESAURUS, "car")')

Niether query works.

Here's the xml file.

<XML ID="Microsoft Search Thesaurus">

<thesaurus xmlns="x-schema:tsSchema.xml">
<diacritics_sensitive>0</diacritics_sensitive>

<expansion>
<sub>Internet Explorer</sub>
<sub>IE</sub>
<sub>IE5</sub>
</expansion>
<replacement>
<pat>NT5</pat>
<pat>W2K</pat>
<sub>Windows 2000</sub>
</replacement>
<expansion>
<sub>run</sub>
<sub>jog</sub>
</expansion>
<expansion>
<sub>car</sub>
<sub>auto</sub>
</expansion>
</thesaurus>

</XML>

Thanks again.

[quoted text, click to view]
Re: SQL 2005 CTP - How can I get a full Thesaurus Hilary Cotter
7/23/2005 6:52:44 AM
this is the list for UK English, I think you want tsENU.xml as you seem to
be in AZ.

I tried your xml file and it works for me.

--
Hilary Cotter
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
[quoted text, click to view]

Re: SQL 2005 CTP - How can I get a full Thesaurus wkbia
7/24/2005 10:39:01 AM
I actually found this out after my post. I also just found out that you need
to use the language argument in the sp_fulltext_column procedure as it
doesn't default. Dropping the argument, the procedure seemed to execute
correctly as there was no warning, but it hadn't.

Got it working now... Thank you.

Wish I had a somewhat complete thesarus though, or at least one that I could
modify. Do you or anyone else no where I could get one and preferably free
since I have no capitol at this time.

Thanks again and in advance.

Wayne

[quoted text, click to view]
AddThis Social Bookmark Button