Sha256: bb680f0b3a0d3096faba7c27b4beef28296674fee79cd73732fb751ef2290571

Contents?: true

Size: 549 Bytes

Versions: 221

Compression:

Stored size: 549 Bytes

Contents

#**
 *  Check if Clustering is Enabled and then
 *  call cluster_results.vm
 *#

<h2 #annTitle("Clusters generated by Carrot2 using the /clustering RequestHandler")>
  Clusters
</h2>

## Div tag has placeholder text by default
<div id="clusters">
  Run Solr with option -Dsolr.clustering.enabled=true to see clustered search results.
</div>

## Replace the div content *if* Carrot^2 is available
<script type="text/javascript">
  $('#clusters').load("#url_for_solr/clustering#lens",
    {'wt':'velocity', 'v.template':"cluster_results"});
</script>

Version data entries

221 entries across 221 versions & 2 rubygems

Version Path
smartcloud-0.0.171 lib/smartcloud/templates/dotsmartcloud/grids/grid-solr/data/configsets/sample_techproducts_configs/conf/velocity/cluster.vm
smartcloud-0.0.170 lib/smartcloud/templates/dotsmartcloud/grids/grid-solr/data/configsets/sample_techproducts_configs/conf/velocity/cluster.vm
smartcloud-0.0.169 lib/smartcloud/templates/dotsmartcloud/grids/grid-solr/data/configsets/sample_techproducts_configs/conf/velocity/cluster.vm
smartcloud-0.0.168 lib/smartcloud/templates/dotsmartcloud/grids/grid-solr/data/configsets/sample_techproducts_configs/conf/velocity/cluster.vm
smartcloud-0.0.167 lib/smartcloud/templates/dotsmartcloud/grids/grid-solr/data/configsets/sample_techproducts_configs/conf/velocity/cluster.vm
smartcloud-0.0.166 lib/smartcloud/templates/dotsmartcloud/grids/grid-solr/data/configsets/sample_techproducts_configs/conf/velocity/cluster.vm
smartcloud-0.0.165 lib/smartcloud/templates/dotsmartcloud/grids/grid-solr/data/configsets/sample_techproducts_configs/conf/velocity/cluster.vm
smartcloud-0.0.164 lib/smartcloud/templates/dotsmartcloud/grids/grid-solr/data/configsets/sample_techproducts_configs/conf/velocity/cluster.vm
smartcloud-0.0.163 lib/smartcloud/templates/dotsmartcloud/grids/grid-solr/data/configsets/sample_techproducts_configs/conf/velocity/cluster.vm
smartcloud-0.0.162 lib/smartcloud/templates/dotsmartcloud/grids/grid-solr/data/configsets/sample_techproducts_configs/conf/velocity/cluster.vm
smartcloud-0.0.161 lib/smartcloud/templates/dotsmartcloud/grids/grid-solr/data/configsets/sample_techproducts_configs/conf/velocity/cluster.vm
smartcloud-0.0.160 lib/smartcloud/templates/dotsmartcloud/grids/grid-solr/data/configsets/sample_techproducts_configs/conf/velocity/cluster.vm
smartcloud-0.0.159 lib/smartcloud/templates/dotsmartcloud/grids/grid-solr/data/configsets/sample_techproducts_configs/conf/velocity/cluster.vm
smartcloud-0.0.158 lib/smartcloud/templates/dotsmartcloud/grids/grid-solr/data/configsets/sample_techproducts_configs/conf/velocity/cluster.vm
smartcloud-0.0.157 lib/smartcloud/templates/dotsmartcloud/grids/grid-solr/data/configsets/sample_techproducts_configs/conf/velocity/cluster.vm
smartcloud-0.0.156 lib/smartcloud/templates/dotsmartcloud/grids/grid-solr/data/configsets/sample_techproducts_configs/conf/velocity/cluster.vm
smartcloud-0.0.155 lib/smartcloud/templates/dotsmartcloud/grids/grid-solr/data/configsets/sample_techproducts_configs/conf/velocity/cluster.vm
smartcloud-0.0.154 lib/smartcloud/templates/dotsmartcloud/grids/grid-solr/data/configsets/sample_techproducts_configs/conf/velocity/cluster.vm
smartcloud-0.0.153 lib/smartcloud/templates/dotsmartcloud/grids/grid-solr/data/configsets/sample_techproducts_configs/conf/velocity/cluster.vm
smartcloud-0.0.152 lib/smartcloud/templates/dotsmartcloud/grids/grid-solr/data/configsets/sample_techproducts_configs/conf/velocity/cluster.vm