Friday, February 1, 2019

How to fix Sharepoint search crawler when it stucks on Crawling full

If you use search on your Sharepoint site you may face with the issue that search crawler stuck in Crawling full status. In the logs you may find the following error:

Failed to create session with indexer ---> Microsoft.Ceres.SearchCore.Services.ContentRouter.ContentException: Unable to connect to index system

In this case try to execute the following PowerShell cmdlets:

$ssa = Get-SPEnterpriseSearchServiceApplication
Get-SPEnterpriseSearchStatus -Text -SearchApplication $ssa

It should show all components of search topology in Active state:

If there will be components which state is Degraded – your topology is in wrong state. In this case solution is to recreation of Search service application. After that run full crawl and it should work and stop successfully this time.

2 comments:

  1. To recreate the SSA is not a great solution, first I will suggest to reset the index and try to clean the SharePoint Cache, then do a full crawl... this will do the trick instead of recreating the SSA. Imagine that you have properties created in the SSA, do you will be able to recreate all of them?

    ReplyDelete
  2. https://medium.com/niftit-sharepoint-blog/sharepoint-2013-reset-index-partition-in-search-service-application-4c7fb8e8da5f

    ReplyDelete