Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have been trying to use the Refinement Panel web part to improve the search experience on my site. I've run into an issue where certain taxonomy fields are showing while others are not. This is the XML that I have in my Filter Category Definition:

<Category    Title="Managed Metadata Columns" Description="Managed metadata of the documents"    
             Type="Microsoft.Office.Server.Search.WebControls.TaxonomyFilterGenerator" MetadataThreshold="3"   
             NumberOfFiltersToDisplay="3" MaxNumberOfFilters="20"    ShowMoreLink="True"    
             MappedProperty="ows_MetadataFacetInfo"
             MoreLinkText="show more"    LessLinkText="show fewer" />

But for some reason this only displays one set of taxonomy field filters. I was under the impression that this would include all taxonomy fields that could be used to filter. I also confirmed that there are about 10 documents using the missing taxonomy fields.

Can any one see what I am doing wrong here? Any suggestions where to look to resolve this issue?

share|improve this question
add comment

3 Answers

up vote 1 down vote accepted

Are you provisioning Taxonomy Fields yourself? In that case, remember to also provision a Hidden Taxonomy Field, and the TaxCatchAll and TaxCatchAllLabel columns and event receivers (if you are provisioning a list definition with these columns). Outlined in great detail here.

Taxonomy Columns not showing as refiners is a known problem if you skip these steps.

share|improve this answer
add comment

Try increasing the "Number of Categories to Display" refinement web part property value from the default 6. In standard out-of-the-box web part configuration, 5 static categories such as Result Type, Site, Author, Modified Date and Company are displayed which only leaves room for a single taxonomy field.

share|improve this answer
add comment

Another thing to look at is the MetadataThreshold="3" part. If you run you test search and in the results are less than 3 items with that metadata, the category will not be displayed because of that parameter.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.
{"cc_re__cc_re__cc_by_sa_3_0": ["        <li><a href=\"http://area51.stackexchange.com\" title=\"proposing new sites in the Stack Exchange network\">Area 51</a></li>\r\n                        <li><a href=\"http://careers.stackoverflow.com\">Stack Overflow Careers</a></li>\r\n                    \r\n                </ol>\r\n            </td>\r\n    </tr>\r\n</table>\r\n                </div>\r\n            </div>\r\n\r\n            <div id=\"copyright\">\r\n                site design / logo &#169; 2014 stack exchange inc; user contributions licensed under <a href=\"http://creativecommons.org/licenses/by-sa/3.0/\" rel=\"license\">cc by-sa 3.0</a> \r\n                with <a href=\"http://blog.stackoverflow.com/2009/06/attribution-required/\" rel=\"license\">attribution required</a>\r\n            </div>\r\n            <div id=\"svnrev\">\r\n                rev 2014.3.7.1431\r\n            </div>\r\n            \r\n        </div>\r\n    </div>\r\n    <noscript>\r\n        <div id=\"noscript-warning\">SharePoint Stack Exchange works best with JavaScript enabled<img src=\"http://pixel.quantserve.com/pixel/p-c1rF4kxgLUzNc.gif\" alt=\"\" class=\"dno\"></div>\r"], "copyright__copyright__copyright": [" taxonomy field.\n\nshare|improve this answer\nadd comment\n\nAnother thing to look at is the MetadataThreshold=\"3\" part. If you run you test search and in the results are less than 3 items with that metadata, the category will not be displayed because of that parameter.\n\nshare|improve this answer\nadd comment\n\nYour Answer\n\n\u00a0\ndiscard\n\nBy posting your answer, you agree to the privacy policy and terms of service.\n\nNot the answer you're looking for? Browse other questions tagged or ask your own question."]}