SharePoint 2010 Search Query Component Not Responding
Problem
One of SharePoint servers went down for a period of time, when it came back up, the Query Component status was still stuck at ‘Not Responding’.
Solution
We had to use a small PowerShell script to restart the Query Component on that server. Its status then changed to ‘Recovering’ and eventually ‘Online’.
Here is the script:
$SearchApp = Get-SPEnterpriseSearchServiceApplication -identity "Search Service Application" $SearchApp | Get-SPEnterpriseSearchQueryTopology | Get-SPEnterpriseSearchQueryComponent | Where-Object {$_.ServerName -eq 'server name'} | Restart-SPEnterpriseSearchQueryComponent |