clone the topology, delete the query component for the server that was turned off with the following:
$searchApp = Get-SPEnterpriseSearchServiceApplication "Search Service Application"
$InitialQueryTopology = $searchApp | Get-SPEnterpriseSearchQueryTopology -Active
$QueryTopology = $searchApp | New-SPEnterpriseSearchQueryTopology -Clone -QueryTopology $InitialQueryTopology
$qcomp = $QueryTopology | Get-SPEnterpriseSearchQueryComponent
$qcomp | Remove-SPEnterpriseSearchQueryComponent
- We selected Y for the component we wanted to remove and N for the query component on the server we wished to keep:
No comments:
Post a Comment