Forum Discussion
Search on modern communication site, url issue with "siteall" vertical
- Apr 12, 2019
Setting scope of a teamsite to tenant wide is now available:
Sounds right.
Regarding your question in 3: If one starts from scratch using the new SharePoint paradigm, it would probably makes most sense and would be acceptable to scope to the current site by default, while search in hub sites would scope to the entire hub.
However I think it will take a few years before most of the content is moved from old SP site collections to these new sites. If that's the case it's cumbersome for a user, even if it is more intuitive, to broaden the scope on each search request. So I think a setting would bring most value, in the mean time I would set the default to the entire SharePoint scope. This way the user has only "one" direction to consider: narrowing his search through scope and/or filter.
Maybe Agnes Molnar can confirm, or not?
Is it possible to override this per site collection?
e.g. when user is in tenant.sharepoint.com/sites/global and uses the search then it would by default do global search for whole SharePoint tenant, but when user is in tenant.sharepoint.com/sites/marketingfiles then it would do search only for marketingfiles site collection?
- Geir-Magnus PettersenAug 04, 2018
Microsoft
As long as the site is a modern teamsite / commsite / hubsite you will by default be scoped to search within the documents of the current site. To do a global search you will need to upscope the search results page by clicking the Sharepoint link on top of the search results to do a global search. Currently there are not any way of overriding this, but we are working on improving this after among other feedback on tech community: https://techcommunity.microsoft.com/t5/SharePoint/Scoping-of-search-in-team-site-communication-sites/m-p/215754
Only places you will by default get global search is if you search from Sharepoint home ([TenantName].sharepoint.com/_layouts/15/sharepoint.aspx) or office.com.