To reset the content index of your Search Service Application, you can either use the UI as described in the following TechNet article, or use the following PowerShell command :
(Get-SPEnterpriseSearchServiceApplication).Reset($true,$true)
The Reset function takes 2 Boolean parameters :
- Disable Alerts
- Ignore Unreachable Server
This sample is for a Farm containing only one instance of the Search Service Application, if you have more than one you should adapt the sample.
Comments
- Anonymous
July 23, 2015
Command is not recognized in PowerShell, any prerequisites so that this commande would be recognized? - Anonymous
November 06, 2015
You need to run 'Add-PSSnapin "Microsoft.SharePoint.PowerShell"' first