Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Is there a Search or Portal site Hierarchy/ Structure option in SharePoint 2013 that would enable a searching of specific and multiple site collections (not just Search all)

We opened a ticket with Microsoft O365 and they said this is not possible without custom development and that search queries can't span multiple Site collections.

Is this true?

share|improve this question

2 Answers 2

up vote 1 down vote accepted

It depends what exactly you want, but yes that is entirely possible.

You want to add to your search query the term:

path:http(s)://domain/path/to/site/collection

That will restrict your results to only include results who's url contains the path specified, or in other words, who are part of the specified site (or site collection) or it's sub-sites. To search multiple site collections at once, use:

(path:http://domain/site1 OR path:http://domain/site2 OR path:http://domain/site3)

If you want to save patterns like this, you can save it as a Result Source, either in central admin (does o365 give you a central admin? I'm too used to on premises) or in site settings for a specific site collection. If you need it to be accessible from a number of places, but can't set it application wide, set up a new search centre site collection, create the result source there, and set each of the other site collections you want to use that result source to send queries to the search centre (under Search Settings in Site Settings)

share|improve this answer
    
thanks, we did this and it work. –  cyberpine Jul 26 at 20:31

That is O365, limitation and limitation.

Did you try Search Results Web Part. You need to configure it and it will return the results on the base of query. I know its not solution but still little alternate.

http://office.microsoft.com/en-us/support/sharepoint-help/sharepointsearch/about-configuring-the-search-results-web-part-HA102848383.aspx

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.