Is facet counts by grouped result supported in DSE2.0? More specifically, during faceting, could the facet counts be done by groups instead of individual items? Thanks.
Facet counts by grouped result
(2 posts) (1 voice)-
Posted 8 months ago #
-
Here is an example for my question:
There are two indexed items with the same parent:
Item1:
<field name="id">113</field>
<field name="parentid">100</field>
<field name="color">Blue</field>
<field name="size">Small</field>Item2:
<field name="id">114</field>
<field name="parentid">100</field>
<field name="color">Blue</field>
<field name="size">Large</field>When faceting on "color", we want items with the same parent to be counted only once. Looks like this was implemented for Solr 4.0 through feature SOLR-2898. Using the latest SOLR 4.0 - Beta, the following query handles the requirement properly and returns a facet count of 1:
select?q=*:*&wt=xml&indent=true&facet=true&facet.field=color&group=true&group.facet=true&group.field=parentid
However, with the Solr in DSE 2.0, the same query returns a facet count of 2.
Is the feature SOLR-2898 available in DSE 2.0 or DSE 2.1? Thanks!
Posted 8 months ago #
Reply
You must log in to post.
