Tuesday, 4 February 2014

Getting results failed: Microsoft.Office.Server.Search.Query.InternalQueryErrorException: Search has encountered a problem that prevents results from being returned. if the issue persists, please contact your administrator.

 
While running a Search on the Search Center as well Local search , on one of the Development farm got this error in SharePoint 2013 Search Center site
 
Getting results failed: Microsoft.Office.Server.Search.Query.InternalQueryErrorException: Search has encountered a problem that prevents results from being returned.  if the issue persists, please contact your administrator.   
 
Performed the following steps to resolve this after looking into ULS logs to identify the issue. Found that the search proxy was too busy to respond.
 
Get the Search Service Application ID

Get-SPServiceApplication
 
Get the Search Service Proxy ID

Get-SPServiceApplicationProxy
Remove the Search Proxy, replace SearchProxyID with the Search Service Proxy ID
 
 
Remove-SPEnterpriseSearchServiceApplicationProxy -Identity <SearchProxyID>
Replace the SearchID

$enterprisesearch = Get-SPEnterpriseSearchServiceApplication <SearchID>
$enterprisesearchproxy = New-SPEnterpriseSearchServiceApplicationProxy  -name SearchServiceProxy -Uri $enterprisesearch.uri.absoluteURI

$enterprisesearchproxy

IISreset

Reset the Indexer not required but did that anyways

Run a full crawl of the content sources

Boom issue resolved. This took some digging in the ULS to understand the exact issue and find the resoulution

11 comments:

  1. the PS command before iisreset seems to be incomplete.

    ReplyDelete
  2. Great work. save me so much time as I though about remove and redo all SSA.

    Thanks

    ReplyDelete
  3. Same error here. Crawl seems fine, but error: Getting results failed.
    Above solution doesn't solve it.

    ReplyDelete
  4. This comment has been removed by the author.

    ReplyDelete
  5. Did all of this and still ended up where I started. :(

    ReplyDelete
  6. This worked great for me. I did have to run the SP Powershell Console as Admin to complete.

    Cheers

    ReplyDelete
  7. Hello! Thank you for providing this information! I like your blog and think it's very useful if you want to know all the news about microsoft dynamics software.
    Click for more here dynamics ax

    ReplyDelete
  8. Hi,
    where to perform these operations:
    Get the Search Service Application ID

    Get-SPServiceApplication

    Get the Search Service Proxy ID
    .....
    so on

    ReplyDelete