User Profile
Rob_DF
Copper Contributor
Joined 5 years ago
User Widgets
Recent Discussions
Re: SharePoint Hybrid Search Remote SharePoint Provider Query Timeout
Rob_DF This configuration change from Microsoft Support is what I was looking for and it fixed the issue in our case. From Microsoft Support: We do frequently see timeout issues with customers using a "federated" hybird query search experience. Which is to say they are trying to seperately query both local on-premises SharePoint indexes and SPO online indexes to show them together on the same results page. What happens is that the defined query execution timeout (15 seconds by default) isn't being applied the same across the actual primary query that is being executed and returned in the search results web part and any queries which are being triggered by query rules and displayed in best bets or results blocks. What we discovered is that there is actually a seperate property on the search service application object which tracks the timeouts for some of the different query subflows. And that timeout can actually impact timeouts seen for the queries being triggered by the query rules. So what I would like you to do is try and increase the setting on the search service application to see if that allows the queries to be returned without a timeout. The setting is 'MinimumPartialQueryTimeout' which is only set to 1.2 seconds by default. The setting needs to be changed via SharePoint PowerShell. In the following example I return the default value in milliseconds. And then I update the setting to 5 seconds(again in milliseconds): PS C:\Users\SPFarm> $ssa =Get-SPEnterpriseSearchServiceApplication "Search Service Application" PS C:\Users\SPFarm> $ssa.MinimumPartialQueryTimeout 1200 PS C:\Users\SPFarm> $ssa.MinimumPartialQueryTimeout = 5000 PS C:\Users\SPFarm> $ssa.Update() PS C:\Users\SPFarm> $ssa.MinimumPartialQueryTimeout 5000 After updating this setting you need to stop and restart the hostcontroller service on the SharePoint servers running the query components. So they can reread the updated configuration setting.1.3KViews0likes0CommentsSharePoint Hybrid Search Remote SharePoint Provider Query Timeout
We have configured outbound hybrid federated search and we have a remote sharepoint provider configured to be used in a result block. We seem to be hitting a timeout and I would like to know if it is possible to change the timeout value? The error in the ULS logs is: "QueryRouterEvaluator: Received results for already timed out query with query type ResultBlock" Does anybody know if this timeout is configurable? It seems to be less than 3 seconds which can be a bit short for a remote query.1.4KViews0likes1CommentRe: hybrid federated search from SharePoint Server to SharePoint Online inconsistent search result
Lewis-HIn my case, the result source and the query rule seem to be configured correctly as it intermittently works properly. Also, if I do the opposite where the primary results are the online results and the result block displays the on-prem results then it works fine. There are a lot of components involved here and most of them are not easily accessible (on-prem search components, SP online search, etc.) to view exactly what is happening. I was interested in knowing what causes may have been found and what they used for troubleshooting.2.1KViews0likes2CommentsRe: hybrid federated search from SharePoint Server to SharePoint Online inconsistent search result
Martin_EricssonDid you resolve this issue? I am trying to set up outbound hybrid federated search and I am getting this same timeout error in the ULS logs. In my case, I am trying to display the SP online search results in a result block and the majority of time they are not displayed at all and only the on-prem results are displayed. Were you able to track down the root cause?2.1KViews0likes0Comments
Recent Blog Articles
No content to show