customize the refiner panel in fast search results page.
-
Wednesday, March 21, 2012 9:28 AM
<?xml version="1.0" encoding="utf-8"?> <FilterCategories> <Category Title="Site" Description="Which site this document is from" Type="Microsoft.Office.Server.Search.WebControls.ManagedPropertyFilterGenerator" MetadataThreshold="5" NumberOfFiltersToDisplay="4" MaxNumberOfFilters="20" SortBy="Frequency" SortByForMoreFilters="Name" SortDirection="Descending" SortDirectionForMoreFilters="Ascending" ShowMoreLink="True" MappedProperty="SiteName" MoreLinkText="show more" LessLinkText="show fewer"> <CustomFilters MappingType="RangeMapping" DataType="Date" ValueReference="Relative" ShowAllInMore="False"> <CustomFilter CustomValue="New"> <OriginalValue>contoso..</OriginalValue> </CustomFilter> <CustomFilter CustomValue="Old"> <OriginalValue>..contosoold</OriginalValue> </CustomFilter> </CustomFilters> </Category> </FilterCategories>Hi all,
I want to customize the refiner panel in a way when the site url is contoso it should be named s "New" nd if it is from contosoold it should be name ad "Old". i have add the above xml and tried.
But i am getting error message "Internal server error exception: "
Please let me know if i am missing something in the above XML.
Thanks,
sudan
All Replies
-
Wednesday, May 02, 2012 7:38 PM
Hi,
Custom filters for FAST Search Server for SharePoint only supports datetime and numeric values with range mapping. Value mapping is not supported. You will have to do the translation either in XSLT or with a custom refinement web part modifying the XML.
Thanks,
Mikael SvensonSearch Enthusiast - SharePoint MVP/WCF4/ASP.NET4
http://techmikael.blogspot.com/
Author of Working with FAST Search Server 2010 for SharePoint

