Forum Discussion
SharePoint Server 2016 Hybrid search gives empty results in on premises
- Mar 22, 2017
If you can find your on-premises content in the SharePoint Online index, the crawl process is probably working just fine.
In order to get searches working in your on-premises search center, you need to setup a result source pointing to SharePoint Online:
https://technet.microsoft.com/en-us/library/mt668455(v=office.16).aspx
After you have created the result source, be sure to set it as the default in order to get your search queries being sent to SharePoint Online.
You also mention you have multiple search service applications - you don't need this to have hybrid search working, although there might be another reason you have multiple ones. In any case, make sure you have the right search service application (the hybrid one) connected to your web application through a service application proxy group. If you're not connected to the right search service application you of course won't get any results from SharePoint Online either.
Running the hybrid configuration wizard is not needed to get hybrid search working, but it won't hurt your setup either.
Agreed. One is the on-premises one and the other the Cloud Search Service which can only be configured via PowerShell.
If it helps, I did run the SharePoint Hybrid configuration Wizard and it ran successfully.
If you can find your on-premises content in the SharePoint Online index, the crawl process is probably working just fine.
In order to get searches working in your on-premises search center, you need to setup a result source pointing to SharePoint Online:
https://technet.microsoft.com/en-us/library/mt668455(v=office.16).aspx
After you have created the result source, be sure to set it as the default in order to get your search queries being sent to SharePoint Online.
You also mention you have multiple search service applications - you don't need this to have hybrid search working, although there might be another reason you have multiple ones. In any case, make sure you have the right search service application (the hybrid one) connected to your web application through a service application proxy group. If you're not connected to the right search service application you of course won't get any results from SharePoint Online either.
Running the hybrid configuration wizard is not needed to get hybrid search working, but it won't hurt your setup either.
- Mar 22, 2017Glad that helped!
- DaR0GaE1Mar 22, 2017MVP
Hey again Thomas,
Thanks for responding back so quickly.
The hybrid search is working on-premises as well.!! The only change I made was uncheck the original Search Service Aplication Proxy.
Publishing the service application was a last step in the article -> https://technet.microsoft.com/en-us/library/mt668455(v=office.16).aspx
After re-reading it I see that's only required for on-premises environments.
Thanks for your help
- Mar 22, 2017
If your web application is connected to the cloud search service application and the result source is setup it should work.
What exactly do you mean by "publishing" the service application? Because I can't see where you are getting that error.
- DaR0GaE1Mar 22, 2017MVP
Thanks Thomas!
My web application wasn't using the Cloud Search Service Proxy (as shown below) hence I made sure it did and made it the default search. Just to be on the safe side I unchecked the Search Service Application_proxy.
Next, I did create a new Result Source as described in the link you provided and also made it the default.
Publishing the Cloud Search Service is a bit confusing. I did publish it and have a copy of the URL but now what?
Finally, I tried the search and now am getting the below error
Any thoughts? Ideas?