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:
Thanks for sharing!
So I understand a couple of needs here.
1. Better highlight the possibility of scoping up (Could be by enhancing the breadcrumb, or by visualizing it in some other way).
2. Make it possible to scope back down to site scope. (See that this is missing, there is a cumbersome way today by searching for the site and expanding the site search result and clicking "search this site", but I can see that this is not the way to do it :) )
3. Do you think we would need a setting if the UI was good enough at explaining that you are in the scoped search and you have a good way of scoping back down to the current site?
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?
- AnonymousJul 31, 2018
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.