All Downloads are FREE. Search and download functionalities are using the official Maven repository.

solr.MediaItems.conf.velocity.cluster_results.vm Maven / Gradle / Ivy

Go to download

The project contains a set of convenience methods on top of common data repositories.

The newest version!
#**
 *  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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy