none
Adding Custom Refinement Panel RRS feed

  • Question

  • I am working on adding custom refiners for few Managed Properties. I have modified 'Filter Category Definition' to add categories. Here's one:

    <Category    Title="Billing Type"    Description="Use this filter to restrict results by Billing Type"    Type="Microsoft.Office.Server.Search.WebControls.ManagedPropertyFilterGenerator"    MetadataThreshold="1"    NumberOfFiltersToDisplay="2"    MaxNumberOfFilters="20"    ShowMoreLink="True"    MappedProperty="BillingType"    MoreLinkText="show more"    LessLinkText="show fewer"    ShowCounts="Count" />

    Here my managed property name is BillingType. I am able to search on this managed property, but I cannot see custom refiners with the search.

    I have tried removing few of the existing categories to confirm that changes are reflecting, except these new refiners.

    Let me know if any more information is required. Thanks for help.

    UPDATE: The Managed Property here is a custom property I have created and is linked to one of the crawled property of document. It is NOT a column on the list or search results.

    Thursday, February 17, 2011 6:40 PM

Answers

  • Please try putting BillingType in all lower case i.e. MappedProperty="billingtype" in the refiner and let us know the results.
    -- Mohan | My Blog
    • Marked as answer by ExpertSoul Friday, February 18, 2011 3:26 PM
    Friday, February 18, 2011 4:05 AM

All replies

  • First off, can you verify that the managed property "BillingType" has enabled refinement? You can check this either in the admin ui or with powershell.

    Second, in the refiner web part there is a parameter which says how many groups to list. Make sure this is either equal to or larger than the number of refiners specified in your refinement xml.

    And thirdly make sure you have unchecked the "use default" config for the refiners in the refiner web part.

    Regards,
    Mikael Svenson


    Search Enthusiast - MCTS SharePoint/WCF4/ASP.Net4
    http://techmikael.blogspot.com/ - http://www.comperiosearch.com/
    Thursday, February 17, 2011 6:48 PM
  • No Luck :(

     

    1. Refiner & Deep Refiner Checked.

    2. <label title="The maximum number of filter categories to display" for="ctl00_MSOTlPn_EditorZone_Edit0g_7ec2f010_06f8_4fc9_82af_af8f2edc7c80_ctl07_DisplayedCategories_EDITOR">Number of Categories to Display</label> - set to 6. Currently showing only 2 refiners.

    3. Use Default Configuration - Unchecked.

    These properties are managed properties mapped to custom crawled properties. I am generating those crawled properties through a custom pipeline stage.

     

    Thursday, February 17, 2011 7:41 PM
  • Please try putting BillingType in all lower case i.e. MappedProperty="billingtype" in the refiner and let us know the results.
    -- Mohan | My Blog
    • Marked as answer by ExpertSoul Friday, February 18, 2011 3:26 PM
    Friday, February 18, 2011 4:05 AM
  • If you log into your FAST server and browse to http://localhost:13280.

    Enter 

    content:""
    

    as the query and check the navigators box before hitting the "search" button. Do you see your navigator included?

    If you only have security protected sources, then you will not get anything here. But for eg. webcrawls it should show all available navigators.

    Regards,
    Mikael Svenson


    Search Enthusiast - MCTS SharePoint/WCF4/ASP.Net4
    http://techmikael.blogspot.com/ - http://www.comperiosearch.com/
    Friday, February 18, 2011 8:06 AM
  • @Mohan: Thanks a lot! Can't believe it can be this stupid..lol. I wasted 2 days on this. It was problem with the case. changing it to 'billingtype' worked.

     

    @Mikael - I can see around Navigators showing up in XML generated after following your steps.

    Friday, February 18, 2011 3:26 PM
  • Hi All,

    I have done everything as explained above, still no suceess.

    Now I have lost the default "Author" refiner category from the Fast Search Result page.

    Please help me in this regard.

    Regards,

    Satish


    Thursday, May 26, 2011 11:06 AM
  • Satish,

    could you post a separate post with your problem, and also include your refiner xml.

    Regards,
    Mikael Svenson 


    Search Enthusiast - MCTS SharePoint/WCF4/ASP.Net4
    http://techmikael.blogspot.com/
    Thursday, May 26, 2011 10:46 PM