Logo 
Search:

MOSS Forum

Ask Question   UnAnswered
Home » Forum » MOSS       RSS Feeds

Thesaurus in MOSS 2007 not working

  Asked By: Pankaj    Date: Oct 31    Category: MOSS    Views: 1792

I am trying to follow the directions in Bill English's book "Office
SharePoint Server 2007" on how to use the Thesaurus (p. 602), both to
expand query terms (synonyms) and to make replacement sets (for our
spelling-challenged users). I am having trouble getting it to work.
First of all, I did not find the tsenu.xml file in exactly the
directory the book lists. Instead, I found four of the files in four
different directories (all similar to the one the book references).
For example, I found one of the tsenu.xml files in <drive>:\Program
Files\Microsoft Office Servers\12.0\Data\Applications\20120c57-fbe5-
442d-af6c-568e5b1b5c9f\Config. I cannot imagine why there are four
files, since we have only two applications, one for SharePoint and
one for the SSP. Not knowing which of the four to edit, I edited all
four that I found in exactly the same way. I copied the commented out
part of the XML, and pasted it back into the file outside the
comments (leaving the commented part there at the top), so that I
would be sure I was using valid syntax. I stopped and restarted the
search service. I did a full crawl. Neither the expansions nor the
replacements seem to work.

Here are two facts that may have a bearing on my problem: this is a
64-bit server (doing everything except database), and I have
installed the Adobe workaround for doing 32-bit PDF search on a 64-
bit server. The PDF search is working great, and in every other
respect search is working as I expect it to work, but I cannot get
the expansions and replacements in the Thesaurus to make a difference.

Share: 

 

4 Answers Found

 
Answer #1    Answered By: Sharonda Mcfarland     Answered On: Oct 31

After the fact, you need to modify the one in <index file
location\SSP\GUID\12\config>(sp?). I don't have an image around, so
that could be off a little. You need to modify it on every query server
in the farm, and for each Shared Services Provider in the Index file
location. If you were to do this before scaling to query servers, they
would be copied at query server creation time.

 
Answer #2    Answered By: Cory Brooks     Answered On: Oct 31

Thanks. I edited all 4 copies of the thesaurus  file found by search
on the whole file system on the search server (only one search server
in the farm, in fact the farm consists of a database server and the
other server is running everything else). Two of the files were in
the same directories that contained index files, so I think I have
covered your suggestion.

I stopped all search services, and restarted them (Office Search,
Windows SharePoint Services Search, Windows Search). I did a Reset
All Crawled Content. I did a full crawl. There were no errors in the
crawl log, and the warnings made sense. The search works as expected,
but there is no effect of either the expansion sets nor of the
replacement sets.

Does anyone have any ideas how I can get this to work?

Is it possible that some file other than tsenu.xml is being used? I
did a standard installation, adding no languages, so I would think
that tsenu.xml is the right file, but what is tseng.xml for?

 
Answer #3    Answered By: Ruth George     Answered On: Oct 31

Tsneu.xml, perhaps. That is the default (neutral, I believe)

 
Answer #4    Answered By: Peter Peterson     Answered On: Oct 31

Thanks, but that doesn't help either.

I now have the same expansions and replacements in all occurences of
the following files: tseng.xml (International English), tsenu.xml (US
English), tsneu.xml (neutral language).

After reading KB 837847 I even added the
<case caseflag="false"></case>
in all the files because I realized I was testing by entering
lowercase query terms but had entered them into the thesaurus  as
uppercase terms.

I believe I have done everything that you and Microsoft and Bill
English document in trying to get this to work, with no luck.

Is anyone else successful with entering items in a thesaurus? Can you
show me an example of your thesaurus, and how you are testing that it
is working? I realized after reading KB 837847 that testing expansion
required an understanding of the difference between phrase search
and "FREETEXT" search. So testing is not a simple step.

Here is a sample of my thesaurus:

<XML ID="Microsoft Search Thesaurus">
<thesaurus xmlns="x-schema:tsSchema.xml">
<case caseflag="false"></case>
<expansion>
<sub>Help Desk</sub>
<sub>Customer Service</sub>
</expansion>
<expansion>
<sub>PSO</sub>
<sub>Public Sector Organization</sub>
</expansion>
<expansion>
<sub>STP</sub>
<sub>Strategic Technology Plan</sub>
</expansion>
<expansion>
<sub>EAM</sub>
<sub>Enterprise Asset Management</sub>
</expansion>
<expansion>
<sub>CMMS</sub>
<sub>WMS</sub>
<sub>CWMS</sub>
</expansion>
<expansion>
<sub>ESRI</sub>
<sub>GIS</sub>
</expansion>
<expansion>
<sub>Operations Optimization</sub>
<sub>EWQMS</sub>
</expansion>
<expansion>
<sub>Sustainable Organization</sub>
<sub>triple bottom line</sub>
</expansion>
<expansion>
<sub>IT</sub>
<sub>Information Technology</sub>
</expansion>
<expansion>
<sub>IS</sub>
<sub>Information Systems</sub>
</expansion>
<expansion>
<sub>CRM</sub>
<sub>3-1-1</sub>
<sub>311</sub>
</expansion>
<expansion>
<sub>SCADA</sub>
<sub>Supervisory Control and Data Acquisition</sub>
</expansion>
<replacement>
<pat>utilty</pat>
<sub>utility</sub>
</replacement>
<replacement>
<pat>maintance</pat>
<sub>maintenance</sub>
</replacement>
<replacement>
<pat>manger</pat>
<sub>manager</sub>
</replacement>
<replacement>
<pat>pubic</pat>
<sub>public</sub>
</replacement>
<replacement>
<pat></pat>
<sub></sub>
</replacement>
</thesaurus>

</XML>

Here is an example of my test query term: PSO

It returns only instances of PSO in documents, not including
instances of Public Sector Organization in documents.

 
Didn't find what you were looking for? Find more on Thesaurus in MOSS 2007 not working Or get search suggestion and latest updates.




Tagged: