SharePoint Search: Use Site Title as Refiner

SharePointSearchResult

The SharePoint Search by default has some refiner if you create a SharePoint Search center. But in the default settings there is no filter or refiner for the site title. Mostly the user know the site name but not always the url. But we would like to have a shiny SharePoint Search Site.

Prepare SharePoint Search Schema

So here i would like to show an easy way to provide the Site Title of a SharePoint Site Collection as Refiner. The information is already in your search schema. The site title is stored in “ows_SiteName”. So i created a new managed property “SiteTitle” and mapped the crawled property to “ows_SiteName”. After that run a full crawl.

Add Refiner

After the full crawl you can use your managed property. Edit your search result page and go to the refiner webpart properties. In this settings you can choose your managed property “SiteTitle” as refiner.

SharePointSearchRefiner
Settings for Refiner in SharePoint

Save your site and let’s see how it looks like:

SharePointSearchResult
SharePoint Search Result with Refiner for Site Title

That’s one way. If you prefer to use RefinableStrings follow this post by Nik Charlebois.

The article or information provided here represents completely my own personal view & thought. It is recommended to test the content or scripts of the site in the lab, before making use in the production environment & use it completely at your own risk. The articles, scripts, suggestions or tricks published on the site are provided AS-IS with no warranties or guarantees and confers no rights.



Karsten Schneider
About Karsten Schneider 291 Articles
He is Consultant for SharePoint Solutions for collaboration, communication and business processes. He provides his customers applications based on standard features as well as development or combining the power of several microsoft tools like Dynamics CRM. In his free time he tries to collect tipps and worthy experience in this blog.

Be the first to comment

Leave a Reply

Your email address will not be published.


*