Facebook Twitter Gplus LinkedIn YouTube Google Maps RSS
Home Technical Sharepoint Thesaurus
formats

Sharepoint Thesaurus

For the search service to provide results on synonyms of a site name, we need to add the synonyms to the ‘Thesaurus’ file.

The Thesaurus files are located in 2 locations on APP server (sp-app1). A total of 4 files need to be changed for the search to function properly.

Here are the file names and their locations.

File Names: tsenu.xml, tsneu.xml
Files Location: c:\program files\Microsoft Office Servers\14.0\Data\config
Files Location: C:\Program Files\Microsoft Office Servers\14.0\Data\Office Server\Applications\[GUID of search application]\Config

Open the xml file and you will see an example of how the synonyms should be formatted. Here is an example of a complete file:

<XML>
<thesaurus xmlns=”x-schema:tsSchema.xml”>
<diacritics_sensitive>0</diacritics_sensitive>
<expansion>
<sub>HIPPA</sub>
<sub>HIPAA</sub>
</expansion>
</thesaurus>
</XML>

If you want to add to this file, you start a new <expansion> tag and put all the synonyms for a particular term in <sub> tag. An example of the final output will be:

<XML>
<thesaurus xmlns=”x-schema:tsSchema.xml”>
<diacritics_sensitive>0</diacritics_sensitive>
<expansion>
<sub>HIPPA</sub>
<sub>HIPAA</sub>
</expansion>

<expansion>
<sub>Speed</sub>
<sub>Acceleration</sub>
</expansion>
</thesaurus>
</XML>

Once this is done, you need to restart “Sharepoint Search Service”. This can be done at windows services level. Open a ‘Run’ prompt, type ‘services.msc’ without quotes. Once the console opens find the “Sharepoint Search Service” and click on restart. You should be able to search for synonyms right away.

 
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments 

Leave a Reply

Your email address will not be published. Required fields are marked *

*

* Copy this password:

* Type or paste password here:

12,873 Spam Comments Blocked so far by Spam Free Wordpress

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

© All rights reserved to Cyberbrutus. 2012
credit

Switch to our mobile site