question

GottfriedJocham-9662 avatar image
0 Votes"
GottfriedJocham-9662 asked BHUMIREDDYSEKHARREDDY-4074 answered

Sharepoint hybrid federated search result block missing

Hi,

I have a problem with a hybrid environment. I would like to display onpremise search results in a SharePoint hybrid federated search.
The result sources are configured accordingly and testing them in the SPO Admin center is successful.
I configured everything according https://docs.microsoft.com/en-us/sharepoint/hybrid/configure-hybrid-federated-search-sharepoint-serverroadmap and https://docs.microsoft.com/en-us/sharepoint/hybrid/display-hybrid-federated-search-results-in-sharepoint-server

The problem I'm faced with is, that the search in the SPO search center doesn't display the result block that I configured in the query rule.
Only results from SPO are displayed. When I change the search result's webpart result source to the onpremise result source, only the onpremise results are displayed (but not in a result block)

How can I get this work with results from both onpremise and online environments?

office-sharepoint-onlineoffice-sharepoint-server-administrationoffice-sharepoint-server-itpro
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @GottfriedJocham-9662
Please remember to update this thread if you have any progress. Thank you for your understanding.

1 Vote 1 ·
itchsun-msft avatar image
0 Votes"
itchsun-msft answered GottfriedJocham-3552 commented

Hi @GottfriedJocham-9662

Only one source can be set in the search result source settings. This is also the situation you encounter. Either you can only choose the content in the online environment, or you can only choose on-premise.

It is a by-design behavior, and the use of custom query rules in hybrid search has certain restrictions.

What I can advise you is not to use a custom query rule. If you only want to display search results from on-premises, you can use the "isexternalcontent:1" property.

For example:

26160-image.png


This returns only on-premises results.

Thank you for your understanding.


If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



image.png (33.4 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thank you @itchsun-msft , but the property you are talking about is only available when you are using cloud hybrid search (index is in the cloud). I'm using hybrid federated search where the index of the OnPrem SP Farm is onpremise and the index of the SharePoint Online is in the cloud.
To show search blocks within a search center, populated by federated search results is something that has to work. I know, that this worked in other cases but I really don't know, why this doesn't work in the current case.

1 Vote 1 ·
BHUMIREDDYSEKHARREDDY-4074 avatar image
0 Votes"
BHUMIREDDYSEKHARREDDY-4074 answered

Anybody has a solution for this problem? We have configured Hybrid Search between SharePoint 2019 and SPO.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.