A SharePoint Search Refiner

July 12, 2012

The SharePoint Blog contained a very informative explanation of SharePoint “refiners.” A “refiner”, according to Microsoft is “enable end-users to drill down into their search results based on managed properties that are associated with the indexed search items, such as creation date, author, and company names.”

Custom SharePoint 2010 Search Refiner – Displaying Range of Choices is a presentation of information which originally appeared in the ShareMuch blog. The write is, in my opinion, quite useful. The information provides a streamlined explanation of how to implement a refiner in a SharePoint 2010 installation. The write up provides an XML snippet which makes the addition of a refiner quick and easy.

The article explains:

MappedProperty maps to an actual managed property that you must define or is already defined in search service application. The SortBy defines, in this case, a custom filter right below the category. The CustomFilters node’s MappingType property means we’ll have a custom filter. In our case, we’re using a range mapper, meaning that whatever value are going to be in the managed property, our filter will display UI based on the range of those and let user toggle the display based on that range. I hope this makes sense. The DataType has only 3 types, so please don’t make the same mistake I did and try to guess the value, it’s limited to “Numeric”, “DateTime”, “String”. The CustomValue inside CustomFilter specifies the user friendly value and the OriginalValue defines the range. In our example, the “Size” property is measured in Bytes so “..1? means range anywhere from 0 bytes to 1 byte. It happens that list items and lists in search results are less than 1 byte in size which means that we can refine by list items and lists results by capturing items with size less than 1 byte. Everything else is a document.

Search Technologies implements “refiners” as well as other advanced features of SharePoint. If you want to extend SharePoint and make the system deliver even greater value to your users, contact Search Technologies.

Iain Fletcher, July 12, 2012

Comments

Comments are closed.

  • Archives

  • Recent Posts

  • Meta