$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')) #if($doc.getFieldValue('name')) #parse("product-doc.vm") #elseif($doc.getFieldValue('compName_s')) #parse("join-doc.vm") #else #parse("richtext-doc.vm") #end #end
#end
#if($params.getBool("debugQuery",false)) toggle explain
$response.getExplainMap().get($doc.getFirstValue('id'))
#end