title: How to do facet group query on Apache solr
body: <p>I am doing a facet query on solr.. Which gives me facets and its count for each item... But now I want to perform a group query on facets.. Which gives me count according to group...</p>
  
  <h2>Example</h2>
  
  <p>Below is the data</p>
  
  <p>Item1: Nike shoes (size:8,9,10)
  Item2 : Reebok Shoes(size:8,9,10)</p>
  
  <p>Now in this case my brand facet query returns me result as below  </p>
  
  <ul>
  <li><p>Nike:3 </p></li>
  <li><p>Reebok:3</p></li>
  </ul>
  
  <p>The result I required is  </p>
  
  <ul>
  <li>Nike:1 </li>
  <li>Reebok:1</li>
  </ul>
  
  <p>Regards</p>