SAP Knowledge Base Article - Preview

2116291 - Solr Grouping results in incorrect facet count


Solr provides ability to group results by using the Result Grouping feature in Solr.
This feature is available in hybris and is used in the DefaultFacetSearchService.

When facets are displayed/retrieved based on grouping the facet counts are for the group.
But when a facet is applied the fq (filter query) gets applied before the grouping is performed.
As the current applied facets are not refreshed the count of facets and the result would never match.





Extension: solrfacetsearch


SAP hybris Commerce Suite 5.2 ; SAP hybris Commerce Suite 5.3 ; SAP hybris Commerce Suite 5.4 ; hybris Commerce Suite 5.1


KBA , CEC-COM-CPS-WEB , CPS Store frontend, Web CMS, Accelerators (SAP Commerce) , Product Enhancement

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.