I'm trying to find a solution to make a subfacet list for some facets.
I have a clothes size on some products and they are stored in solr
"Size_both":"W30L30", "Size_width":"W30", "Size_length":"L30"
I wish to generate a list of subfacet for each width:
W30 (8)
W32 (2)
etc
Anyone know how to accomplish this? I thought I could do this with group, but that didn't work.
Use Facet Pivoting to achieve desired result:
Try Below Query:
http://<host_name>:<port>/solr/<core_name>/select?q=*:*&rows=20&wt=json&indent=true&facet=true&facet.pivot=Size_width,Size_length