Hi All,
Solr response giving empty results for topFacetValues for one of the Facet although the facet values are greater than 5
- Hybris OOTB, defines the DefaultTopValuesProvider which holds the constant topFacetCount = 5. This is used for determining the number of entries that are displayed by topFacetValues ,before displaying more option for that facet type.
- “topFacetValues” parameter contain the top 5 entries values only when “facetValues” parameter list is greater than 5, else “topFacetValues” list remains empty.
- Based on this concept of “topFacetValues” :
- If topFacetValues list not empty, and value present for this field, we display the more option
- If list is empty, we display all the entries from “facetValues” field.
Due to some reason SOLR returning null for topFacetValues although the facet values are greater than 5 for this SIZE attribute.
Note : for same attribute(SIZE), in other Category it working correctly (topFacetValues setting to 5, As facet values count is 10)
Any leads would be appreciated
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.