
solr.MediaItems.conf.velocity.cluster_results.vm Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mklab-framework-client Show documentation
Show all versions of mklab-framework-client Show documentation
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)
-
$cluDoc
#end
#end ## end for each Cluster
© 2015 - 2025 Weber Informatics LLC | Privacy Policy