Showing items counts in SharePoint 2010 Search Refinement Panel

Bringing search count in refinement panel of SharePoint 2010 search result page is very easy and straight forward.

  1. Edit the page containing the search result page with refinement panel.
  2. Go to the web part properties of refinement panel.
  3. Expand the “Refinement” section and edit “Filter Category Definition”
  4. For each “Category” add ShowCounts=”Count”
  5. Check-in and publish the page
<Category Title="Title" Description="Use this filter to restrict results authored by a specific author" Type="Microsoft.Office.Server.Search.WebControls.ManagedPropertyFilterGenerator" MetadataThreshold="1" NumberOfFiltersToDisplay="4" MaxNumberOfFilters="20" SortBy="Frequency" SortByForMoreFilters="Name" SortDirection="Descending" SortDirectionForMoreFilters="Ascending" ShowMoreLink="True" MappedProperty="Title" MoreLinkText="show more" LessLinkText="show fewer" ShowCounts="Count"/>

If the count doesn’t show up, then uncheck the “Use Default Configuration” checkbox under the same “Refinement” section.

Leave a Reply

Your email address will not be published / Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.