<

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x

Sharepoint Search: Site Collection Results

Published on
3,554 Points
554 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
0 Comments

Featured Post

OWASP Proactive Controls

Learn the most important control and control categories that every architect and developer should include in their projects.

Key to your CPU's ability to stay cool is to use the right amount of thermal paste and apply it correctly. In other words you want as much thermal conductivity between CPU and the cooling block. Use a quality thermal paste and apply it in a manner…
Basic Overview of office 365 user portal
Other articles by this author

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month