source: gs3-extensions/solr/trunk/src/conf/velocity/cluster.vm@ 29135

Last change on this file since 29135 was 29135, checked in by ak19, 10 years ago

Part of port from lucene3.3.0 to lucene4.7.2. Solr related. conf and lib folders for solr4.7.2.

File size: 562 bytes
Line 
1#**
2 * Check if Clustering is Enabled and then
3 * call cluster_results.vm
4 *#
5
6<h2 #annTitle("Clusters generated by Carrot2 using the /clustering RequestHandler")>
7 Clusters
8</h2>
9
10## Div tag has placeholder text by default
11<div id="clusters">
12 Run Solr with java -Dsolr.clustering.enabled=true -jar start.jar to see clustered search results.
13</div>
14
15## Replace the div content *if* Carrot^2 is available
16<script type="text/javascript">
17 $('#clusters').load("#url_for_solr/clustering#lens",
18 {'wt':'velocity', 'v.template':"cluster_results"});
19</script>
Note: See TracBrowser for help on using the repository browser.