<

Sharepoint Search: Site Collection Results

Published on
4,036 Points
1,036 Views
Last Modified:
When using a search centre, I'm going to show you how to configure Sharepoint's search to only return results from the current site collection. Very useful when using Office 365 with multiple site collections.

When using a search centre, it's useful to be able to only return search results from the current site collection. This comes into play when using Office 365 with multiple site collections.


After creating a new Search Centre sub-site in the current site collection, 

  1. Go to Site settings on the site collection
  2. Click on “Search Result Sources”
  3. Create a new source as per below

     
  4. Launch Query Transform and set the following parts of the Property filter:
    • "Path", "Contains" and "This site collection" as shown below
    • Query text should read: "{searchTerms} Path:{SiteCollection.URL}"
       
    • Click “Add property Filter”

  5. Set new result source as default


Now searching from your search centre, will only return results from the current site collection.


0
Ask questions about what you read
If you have a question about something within an article, you can receive help directly from the article author. Experts Exchange article authors are available to answer questions and further the discussion.
Get 7 days free