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- Move Copy Migrate SharePoint OneDrive files folders to different site collection location
- How to generate client id and secret to register SharePoint App with OAuth
- How to share SharePoint site or document with all users in organization
- Get-ADUser PowerShell - Get AD user details using email address
- error CAML Query containing special characters
- Access URL for SharePoint Tenant Admin Center (Online Office 365)
- Fix SharePoint Error - The Managed Metadata Service or Connection is currently not available. The Application Pool or Managed Metadata Web Service may not have been started
- SharePoint - The URL is invalid. It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web.
- How to delete SharePoint List Item programmatically using C#.Net
- How to Share Microsoft SharePoint Site with Users or Groups
- JSON column formatting to preview SharePoint Online file on mouse hover
- SharePoint List redirect user after submitting form NewForm.aspx
- See actual SharePoint error exception modify web.config
- SharePoint Server 2016 IT Preview Deprecated Removed features
- How to create SharePoint Document Library
- How to Get or Set SharePoint Document ID _dlc_DocId using PowerShell
- How to disable SharePoint subsite creation option for owners
- PowerShell - How to use Try Catch Finally blocks for error exception handling (Windows/SharePoint)
- SharePoint error - Your organization doesn't allow sharing with users from this domain. Please contact your IT department for help. (OSE403)
- [Solved] SharePoint Search Internal server error exception
- How to wrap column text in SharePoint Online Modern List Grid View using JSON formatting
- How to extend retiring SharePoint 2010 Workflows and continue with Office 365
- Changed AD user display name showing old name in SharePoint
- How to hide or remove quick launch left navigation from SharePoint Online Modern site page
- How to enable anonymous public access for SharePoint Online site collection, file, folder without login ?
- Merge multiple zip files without unzipping (extracting) - HowTos
- Fix Error 2711 SQL RBS client - The installer has encountered an unexpected error. The specified Feature name ('Docs') not found in Feature table - SharePoint
- BeanDefinitionStoreException IOException parsing XML document from class path resource [spring.xml] - Java
- Managed Metadata error - The data returned from the tagging UI was not formatted correctly - SharePoint
- Installing Google Cloud macOS SDK - Google
- How to add hours and minutes to Java Instant - Java
- Share Image to WhatsApp with Caption from your Android App - WhatsApp
- Java: TimeZone List with GMT/UTC Offset - Java