How to remove inactive search topology in SharePoint 2013
Use this Powershell command to remove inactive search topology in SharePoint 2013:
Get-SPEnterpriseSearchServiceApplication | Get-SPEnterpriseSearchTopology |? {$_.State -eq "Inactive"} |% { Remove-SPEnterpriseSearchTopology -Identity $_ -Confirm:$false};
---