Developer forum

Forum » Ecommerce - Standard features » How to accomplish sub-aggregation based on a facet?

How to accomplish sub-aggregation based on a facet?

Evaldas Raisutis
Reply

I want to create an facet for ProductType field, and then for each value, a sub-facet of product groups. This is quite common to do in ElasticSearch using aggregations, but I can't quite wrap my head around doing so with DW Facets. "FacetOptions" loop items don't seem to have a Facet loop available under them, which makes me think it's not possible?

So to put it in another way, I would like to retrieve 

  • ProductType Facet
    • For each value, create a sub-facet of available product groups for those ProductTypes.

 


Replies

 

You must be logged in to post in the forum