CoreResult Webpart fetches 100 refiners eve though MaxnumberofFilters to Display is set to 15.
-
Monday, April 09, 2012 9:22 AM
Hello All,
I have extended the sharepoint core result webpart along with refinement panel and filter generator.
Assume that i have set the maxnumberoffilterstodisplay as 15 and accurracy index is set to 50.
When i only add my extended coreresult webpart or OOB core result webpart on the results page and when i check the query fired in the query logger the query is ok and the refiners fetched against eact category is round about 20-40 refiners.
When i add the OOB refinement panel webpart of the query logger is the same.
But when i add my extended refinement panel webpart the query logger fetches 100 refiners against each category/ mapped property. Even though the max no of filters to display is set to 15 and accuracy index is set to 50.When i debugged the code under filter generator that i have extended the method
GetRefinement() the refiment data brings the refiners based on accuracy index.
What i want is when i am setting the max no of filters to display as 15 the core result webpart should fetch only 15 refiners not 100.
All Replies
-
Friday, April 13, 2012 3:48 AMModerator
Hello,
Thank you for your post.
This is a quick note to let you know that we are performing research on this issue.
Thanks,
-
Tuesday, April 17, 2012 9:48 PM
Hi,
Can you define what you mean by extended the core result web parts and refinement panel? What changes have you done in particular? Also for the GetRefinement(), http://msdn.microsoft.com/en-us/library/microsoft.office.server.search.webcontrols.managedpropertyfiltergenerator.getrefinement.aspx has the following comment:
Remarks
This override calculates the refinement XML that is used to construct the refinement panel.
Regards, Savoeurn Va Microsoft Online Community Support
- Marked As Answer by Jack-GaoMicrosoft Contingent Staff, Moderator Tuesday, April 24, 2012 6:34 AM

