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 that 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 an 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- SharePoint error - An exception occurred when trying to issue security token: This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms..
- PowerShell iterate and get all SharePoint sites and sub sites
- SharePoint Online: Editing session has ended Message
- How to Share Microsoft SharePoint Site with Users or Groups
- How to delete SharePoint Online List Item using REST API
- SharePoint List excel import - This table exceeds the maximum number of supported rows
- How to disable SharePoint subsite creation option for owners
- SharePoint 2010 August 2015 Update KB3055049 - Duplicate Document ID issue bug fixed
- SharePoint Server 2016 Preview installation error - This Product Key isn't a valid Microsoft Office 2016 Product Key. Check that you've entered it correctly.
- How to upload file programmatically to SharePoint Document Library using Server Object Model C# .Net
- Access URL for SharePoint Tenant Admin Center (Online Office 365)
- Error when deleting SharePoint Online folder or file
- How to extend retiring SharePoint 2010 Workflows and continue with Office 365
- How to generate client id and secret to register SharePoint App with OAuth
- How to delete SharePoint List Item programmatically using C#.Net
- How to retrieve all SharePoint Online List Items using Rest API
- [Solved] SharePoint Search Internal server error exception
- Create SharePoint Site Collection using PowerShell New-SPSite
- Fix SharePoint PowerShell error - The term Get-SPweb is not recognized as the name of a cmdlet function script file or operable program
- How to enable anonymous public access for SharePoint Online site collection, file, folder without login ?
- SharePoint Server 2016 installation System Hardware requirements
- How to create SharePoint Online List Item using REST API
- Changed AD user display name showing old name in SharePoint
- Recommended size and resolution for SharePoint Online Site logo
- Microsoft 365: How to Turn Off Delve in SharePoint Online for All Users
- Division between two numbers - C-Program
- How to install Microsoft Teams on Mac using Terminal (Silently) - Teams
- How to lock Notepad++ tabs? - NotepadPlusPlus
- Add or remove users from sudo group - Ubuntu - Ubuntu
- Shortcut: How to delete a complete line in Nano Editor - Linux
- Java JDBC Connection with Database using SSL (https) URL - Java
- Json Serialization and Deserialization using Java Jackson - Java
- [Java Threads] Should we extend Thread Class or implement Runnable interface - Java