Sha256: 9ae277c686ef642e0f3fcf41566735d4cc53b432889128ba7b7d48e738afb47b

Contents?: true

Size: 666 Bytes

Versions: 226

Compression:

Stored size: 666 Bytes

Contents

#**
 *  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
  <h3>
    #foreach ($label in $labels)
      ## Keep the following line together to prevent
      ## a space appearing before each comma
      $label#if( $foreach.hasNext ),#end
    #end
  </h3>

  ## This Cluster's Documents
  <ol>
    ## For each doc in this cluster
    #foreach ($cluDoc in $docs)
      <li>
        <a href="#url_for_home?q=id:$cluDoc">
          $cluDoc</a>
      </li>
    #end
  </ol>

#end   ## end for each Cluster

Version data entries

226 entries across 226 versions & 3 rubygems

Version Path
smartmachine-1.3.0 lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/cluster_results.vm
smartmachine-1.2.3 lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/cluster_results.vm
smartmachine-1.2.1 lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/cluster_results.vm
smartmachine-1.2.0 lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/cluster_results.vm
smartmachine-1.2.0.dev lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/cluster_results.vm
smartmachine-1.1.1 lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/cluster_results.vm
smartmachine-1.1.0 lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/cluster_results.vm
smartmachine-1.0.1 lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/cluster_results.vm
smartmachine-1.0.0 lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/cluster_results.vm
smartmachine-0.9.0 lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/cluster_results.vm
smartmachine-0.8.0 lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/cluster_results.vm
smartmachine-0.7.0 lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/cluster_results.vm
smartcloud-0.6.0 lib/smartcloud/grids/grid-solr/config/configsets/sample_techproducts_configs/conf/velocity/cluster_results.vm
smartcloud-0.5.3 lib/smartcloud/grids/grid-solr/config/configsets/sample_techproducts_configs/conf/velocity/cluster_results.vm
smartcloud-0.5.2 lib/smartcloud/grids/grid-solr/config/configsets/sample_techproducts_configs/conf/velocity/cluster_results.vm
smartcloud-0.5.1 lib/smartcloud/grids/grid-solr/config/configsets/sample_techproducts_configs/conf/velocity/cluster_results.vm
smartcloud-0.5.0 lib/smartcloud/grids/grid-solr/config/configsets/sample_techproducts_configs/conf/velocity/cluster_results.vm
smartcloud-0.4.4 lib/smartcloud/grids/grid-solr/config/configsets/sample_techproducts_configs/conf/velocity/cluster_results.vm
smartcloud-0.4.3 lib/smartcloud/grids/grid-solr/config/configsets/sample_techproducts_configs/conf/velocity/cluster_results.vm
smartcloud-0.4.2 lib/smartcloud/grids/grid-solr/config/configsets/sample_techproducts_configs/conf/velocity/cluster_results.vm