Symptoms

Sharepoint search is not working on Sharepoint 2010 sites. The following error is shown:

The search request was unable to connect to the Search Service.

The following errors can be found in Application Log of Event Viewer:

The last query component (3b2b34f8-4a89-4059-b0ae-12f66f5dff88) of a partition failed. It will not be taken out of rotation but queries are likely to fail. Check previous event logs to determine cause. Reinitialization may be necessary.

and/or

The mount operation for the gatherer application 3b2b34f8-4a89-4059-b0ae-12f66f5dff88 has failed because the schema version of the search administration database is less than the minimum backwards compatibility schema version supported for this gatherer application. The database might not have been upgraded.

Cause

One of the possible reasons - updates of Sharepoint 2010 were recently installed on Sharepoint servers.

Resolution

  1. Launch an elevated (Run as Administrator) SharePoint 2010 Management shell from start, All Programs, Microsoft SharePoint 2010 Products, SharePoint 2010 Management Shell. Execute the following command:

    (get-spserver $env:computername).NeedsUpgrade 
    

    If the result of this command is True, then proceed with applying the next step.

  2. Open an Administrative command prompt, change directory to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN and run the command:

    PSConfig.exe -cmd upgrade -inplace b2b -force -cmd applicationcontent -install -cmd installfeatures
    
  3. Check that Sharepoint sites on this farm open fine and check that search works fine

  4. If there are any above-mentioned issues after applying the step 2, then start Sharepoint crawling or wait while it will be started according to the schedule. Crawling can be started in the following way:

    • Open the SharePoint Foundation 2010 Central Administration web site
    • Go to Central Administration > Monitoring > Timer Jobs > Review Job Definitions
    • Start the SharePoint Foundation Search Refresh job

Internal content

Link on internal Article