Where created new search service application and tried to crawl, It generate status starting and take a long time without changes and crawl duration still empty like image below.
I tried to recreate service many times and problem still exists.
I found error in Search Application Topology:
I fixed these problems by Fixing Query Processing, Steps to Fix Query Processing:- Run SharePoint PowerShell
- Get the Search Service Application and clone the search topology:
# Clone the active search topology
$ssa = Get-SPEnterpriseSearchServiceApplication -Identity "Service Application Name"
$active = Get-SPEnterpriseSearchTopology -SearchApplication $ssa -Active
$clone = New-SPEnterpriseSearchTopology -SearchApplication $ssa -Clone –SearchTopology $active - Get QueryProcessingComponent ComponentId by run command
Get-SPEnterpriseSearchComponent -SearchTopology $clone
Get component Id as Figure - Remove the component by using the ComponentId
Remove-SPEnterpriseSearchComponent -Identity 1c138785-382e-45f3-8e55-ee8d189cf1c0 -SearchTopology $clone -confirm:$false - Add new Search component using command:
$wfe = Get-SPEnterpriseSearchServiceInstance -Identity "Web front name"
New-SPEnterpriseSearchQueryProcessingComponent -SearchTopology $clone -SearchServiceInstance $wfe - Activate search component
Set-SPEnterpriseSearchTopology -Identity $clone
No comments:
Post a Comment