SharePoint 2010 Refinement Panel does not display filters
-
2012年6月14日 下午 08:53
I have configured managed properties and can successfully filter People search results using the queries:
KFcompany:tallgrass (1-10 of 16 results)
department:Information (1-8 of 8 results)
But the filters do not display in the Refinement Panel:
Web part settings:
Accuracy Index = 500
Number of Categories to Display = 60
Number of Characters to Display = 1000
Use Default Configuration = Unchecked
Filter Category XML
<Category Title="Company" Description="Company" Type="Microsoft.Office.Server.Search.WebControls.ManagedPropertyFilterGenerator" MetadataThreshold="1" NumberOfFiltersToDisplay="4" MaxNumberOfFilters="20" SortBy="Frequency" SortByForMoreFilters="Name" SortDirection="Descending" SortDirectionForMoreFilters="Ascending" ShowMoreLink="True" MappedProperty="KFcompany" MoreLinkText="show more" LessLinkText="show fewer" />
<Category Title="Department" Description=" Department " Type="Microsoft.Office.Server.Search.WebControls.ManagedPropertyFilterGenerator" MetadataThreshold="1" NumberOfFiltersToDisplay="4" MaxNumberOfFilters="20" SortBy="Frequency" SortByForMoreFilters="Name" SortDirection="Descending" SortDirectionForMoreFilters="Ascending" ShowMoreLink="True" MappedProperty="department" MoreLinkText="show more" LessLinkText="show fewer" />
Any help would be greatly appreciated!
所有回覆
-
2012年6月14日 下午 10:55
Hi,
Did your modify also WebPart XSLT? Or only XML?
I attach some interesting links:
http://www.sharepointanalysthq.com/2010/06/sharepoint-2010-search-refinement-panel-options/
http://technet.microsoft.com/en-us/library/gg549985.aspx
Regards!
José Quinto Zamora
SharePoint and Search Specialist at SolidQ(http://www.solidq.com)
MCITP and MCPD in SharePoint 2010
http://blogs.solidq.com/sharepoint- 已標示為解答 Pengyu Zhao 2012年6月22日 上午 06:22
- 已取消標示為解答 spadminguy 2012年6月22日 下午 08:35
-
2012年6月22日 下午 08:35
Thanks for the info which helped but unfortunately it still does not work.
I used the Filter Category Definition and "RefinerStyle.xsl" from the article below:
http://blogs.msdn.com/b/nkhare/archive/2011/12/22/custom-refinement-panel-for-sharepoint-2010-search-based-on-departments-business-unit.aspx
The only change I made was replacing 'sitename' with 'department' which is my managed property (I have no managed property called 'sitename'). Please recall, I can filter with department:<string> but I cannot get filter to display on page as a refinement.
Any additional info is appreciated.
- 已編輯 spadminguy 2012年6月22日 下午 09:32

