Forum Discussion
Configure modern search results to search all of your organization (rather than the current site)
- Apr 14, 2019
Hi Rick DeFoe, we are actually working on making that happen. We hope that will be coming in the next couple of months.
Kerem Yuceturk It seems that searching trough the REST API, this setting is ignored.
This query for example, searches only in the current site collection on a modern communication site:
https://mytenant.sharepoint.com/sites/moderncommunicationsite/_api/search/query?querytext='test'
See also this issue:
Even though the search api of the site is used you still can be able to get tenant wide results.
When doing a site scoped search we scope by limiting the search in the query template of the query with Path:"UrlToCommunicationSite". And when upscoping this path part of querytemplate is removed.
So you should still be able to get tenant wide results even if the search api of the communicationsite is used to post the query.
Are you only seeing results from your communicationsite after changing the site scope?