Move to solr 4 plus corrections to SparqlQueryExecutorTest with newlines and white space characters
This commit is contained in:
parent
b642f30391
commit
120be1e6b8
122 changed files with 17422 additions and 5288 deletions
19
solr/homeDirectoryTemplate/conf/velocity/cluster.vm
Normal file
19
solr/homeDirectoryTemplate/conf/velocity/cluster.vm
Normal file
|
@ -0,0 +1,19 @@
|
|||
#**
|
||||
* 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 java -Dsolr.clustering.enabled=true -jar start.jar 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>
|
Loading…
Add table
Add a link
Reference in a new issue