title: Solr query how to read grouped values?
body: <p>I'm trying to group my documents but I don't understand how to make a combined query.
  Example:</p>
  <pre><code>&lt;doc1&gt;
  &lt;id&gt;1&lt;/id&gt;
  &lt;myid&gt;1&lt;/myid&gt;
  &lt;name&gt;test&lt;/name&gt;
  &lt;/doc1&gt;
  
  &lt;doc2&gt;
  &lt;id&gt;2&lt;/id&gt;
  &lt;myid&gt;1&lt;/myid&gt;
  &lt;name&gt;test2&lt;/name&gt;
  &lt;/doc2&gt;
  </code></pre>
  <p>When I group on myid I get only 1 group result which is excepted. But I wonder how I could get a list of the names with that group.</p>
  <p>something like:</p>
  <pre><code>&lt;Response&gt;
  &lt;doc&gt;
  &lt;id&gt;1,2&lt;/id&gt;
  &lt;myid&gt;1&lt;/myid&gt;
  &lt;name&gt;test1,test2&lt;/name&gt;   //this
  &lt;/doc&gt;
  </code></pre>
  <p>The query I'm using:</p>
  <pre><code>        SolrQuery sq = new SolrQuery();
          sq.setQuery(&quot;*:*&quot;);
          sq.setStart(0);
          sq.setRows(100);
          sq.setParam(&quot;group&quot;, true);
          sq.setParam(&quot;group.field&quot;,&quot;myid&quot;);
  </code></pre>
  <p><strong>I don't know how to read the groupresponse to get the name values for that grouped item?</strong></p>
  <p>I noticed there's an option to set group.limit and group.offset which allow me to get multiple results. But I'm still wondering if its possible to get a list of the 'name' fields. I think I need to facet name on the group results but I don't know how.</p>