#** * Actual rendering of Clusters *# ## For each cluster #foreach ($clusters in $response.response.clusters) #set($labels = $clusters.get('labels')) #set($docs = $clusters.get('docs')) ## This Cluster's Heading

#foreach ($label in $labels) ## Keep the following line together to prevent ## a space appearing before each comma $label#if( $foreach.hasNext ),#end #end

## This Cluster's Documents
    ## For each doc in this cluster #foreach ($cluDoc in $docs)
  1. $cluDoc
  2. #end
#end ## end for each Cluster