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
the PS command before iisreset seems to be incomplete.
ReplyDeleteGreat work. save me so much time as I though about remove and redo all SSA.
ReplyDeleteThanks
Same error here. Crawl seems fine, but error: Getting results failed.
ReplyDeleteAbove solution doesn't solve it.
me too
DeleteAWESOME!!
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteDid all of this and still ended up where I started. :(
ReplyDeleteThis worked great for me. I did have to run the SP Powershell Console as Admin to complete.
ReplyDeleteCheers
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.
ReplyDeleteClick for more here dynamics ax
Hi,
ReplyDeletewhere to perform these operations:
Get the Search Service Application ID
Get-SPServiceApplication
Get the Search Service Proxy ID
.....
so on
This comment has been removed by a blog administrator.
ReplyDeleteI had this issue and resolved it by simply restarting the SharePoint Search Host Controller service on the SharePoint server.
ReplyDeleteRestarting Search host contoller and search service resolved for me
ReplyDelete