2

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?

2 Answers 2

6

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)

2
  • it is work for test query but when i search from site, it gives me result from only one site collection Commented Jan 20, 2015 at 13:09
  • Check to make sure the Result Source you're searching against doesn't impose it's own scope limitations onto the query. Similarly, check for Search Rules that might be modifying it, and the search results web part. All of these can add modifiers to your query before it gets processed.
    – Tyr
    Commented Jan 21, 2015 at 15:29
0

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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