Code2care : TechZone Apps & Tutorials

Setup synonyms or alias or thesaurus in SharePoint



Follow below steps to create thesaurus :


1. Navigate to path “C:\Program Files\Microsoft Office Servers\14.0\Data\Office Server\Applications\xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx-query-0\Config” on your SharePoint Server

Note : This is the SharePoint Server which hosts the Search Query component files. So the location may vary depending on how your FARM and Search Service Application is configured, but usually it is located as shown above within the Config folder of GUID-query-X folder named.

2. Locate file “tsenu.xml”, copy and keep a backup original file. This will be useful if something goes wrong.

3. Open “tsenu.xml” file and remove the commented lines (<!-- Commented out, -->)

4. Add/Modify the “<replacement>” node to add a new synonym for existing term as shown below

<replacement>
<pat>BHARAT</pat>
<pat>HINDUSTAN</pat>
<sub>INDIA</sub>
</replacement>

<sub> = actual text
<pat> = synonym


5.To add more synonyms, repeat the <replacement> nodes.

6. Save the file and close it.

7. Navigate to “Services.msc” and restart the “SharePoint Server Search 14” service.

Saw the good part ? This does not require any deployment or downtime. So can be planned and done whenever required.

8. Perform a search query using synonym and check results

Tags : SharePoint ; Search ; Thesaurus ; Alias ; Synonyms













Top




Posts related to sharepoint.


1. SharePoint does not allow uploading flash files

2. SharePoint List Attachments missing from customized Display Form (DispForm.aspx)

3. Setup synonyms or alias or thesaurus in SharePoint

4. How to exclude results from SharePoint Search

5. Sign in as different user missing in SharePoint 2013

6. Recover SharePoint if the SQL Server IP changes

7. How to Configure PDF iFilter For SharePoint

8. SharePoint Multiline Textbox Line-Break issue with customized XSLT Display form (DispForm.aspx)

9. Create Performance Point Dashboard in SharePoint

10. How to get SharePoint List Item URL using PowerShell

11. How to hide quick launch in SharePoint

12. SharePoint Text Site Column appended comments missing on customized Display Form (DispForm.aspx)

13. Sharepoint Errors Were Found When Compiling The Workflow. The Workflow Files Were Saved But Cannot Be Run

14. Bypass domain name for IIS site

    more...






Popular tags
android
x 175
eclipse
x 29
notepadplusplus
x 20
macosx
x 14
sharepoint
x 14
html
x 14
mac
x 13
androidstudio
x 11




1000+ C Programs     PHP Tutorial     JSON Tutorial     Swift Tutorial     India Pinocdes     About Us     Privacy Policy


Code2care © 2012-15