After creating a thesaurus successfully, your second step is to import it. We have already explained the steps to creating thesaurus in SharePoint in one of our previous tutorials. In this tutorial, we will learn the method to import the created Thesaurus.

Before you proceed, make sure that you have full access rights of the search service application administrator.

Let’s now begin with the Thesaurus import process –

Step 1:

Initially, you need to open up the SharePoint 2013 Management Shell. For this, go to the server having SharePoint 2013 installed and select the option.
SharePoint 2013 Management Shell

Step 2:

Type following command in the command prompt –

$searchApp = Get-SPEnterpriseSearchServiceApplication
Import-SPEnterpriseSearchThesaurus -SearchApplication $searchApp -Filename <Path>
sharepoint thesaurus file's UNC path
Where <Path> = your thesaurus file’s UNC path
That’s all you need to do for importing your created Thesaurus in SharePoint 2013.

One important thing that needs to be noted is that importing a thesaurus overwrites the existing one. If there are some new phrases to be added, make sure to add them to the file you imported before.

Also, exporting a Thesaurus file is not permitted in SharePoint 2013 and so you need to deploy an external system for suitably maintaining your file.

Kristin is a content strategist at Techarex Networks. Kristin follows the B2B technology space closely and loves to write on the latest changes in technology, futuretech and fixes for day to day how to issues. Besides writing Kristin also loves music, moves and skating.

Techarex Networks SharePoint Hosting Solutions provides a best-fit collaborative environment,fetching maximum ROI with our world-class SharePoint hosting plans. Our customized deployment helps you to select business-centric configuration. Experience industry-leading SLAs and dedicated 24X7 support, augmenting business needs with world-class industry-ready SharePoint foundation, enterprise, and custom hosting plans.