Custom Refiner in SharePoint 2013 Search

This article describe - How to add custom refiner in SharePoint 2013 Search, How to make the enrich search.

OOTB search result page with OOTB refiners:-



Refiners work with Manager Property, All above property i.e. Result Type, Author & Modified Date are Managed Property.

Refiner is also a search refiner web part - through which we can existing managed property - Follow the below steps for adding more properties:-

Step 1:- Edit the Page and Edit the Right hand side refiner web part.




Step 2 :- Edit the Web Part and click the choose refiner



Step 3:- Select the managed property from LHS list box and add to RHS  like Region, Country, Site

By default standard or naming convention of managed property Site Column Name + OWS + Data Type. I have created the Region, Country, Site as site column with Single line of text.
Similarly we can rename the Display Name , apply the template, sort the property etc.




Step 4 :-  How to get the managed property -  Go to Site Setting -> Site Collection Adminsitration -> Search Schema.


Step 5:- By Default Managed Property select - Search for Site Column i.e. region as highlighted below, I got the managed property i.e. RegionOWSText and Edit the property and set Query, Search, Refine if not selected as shown below:-



Step 6 :- After step 4 just click ok and save the page - you will get custom refiner in your search result page-



Happy Coding


No comments:

Post a Comment