$grouping.key
Total Matches in Group: $grouping.value.matches
#foreach ($group in $grouping.value.groups)
$group.groupValue ($group.doclist.numFound)
#foreach ($doc in $group.doclist) #set($docId = $doc.getFieldValue('id')) #parse("doc.vm") #end
#end
#if($params.getBool("debugQuery",false)) toggle explain
$response.getExplainMap().get($doc.getFirstValue('id'))
#end