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
31
solr/homeDirectoryTemplate/conf/velocity/cluster_results.vm
Normal file
31
solr/homeDirectoryTemplate/conf/velocity/cluster_results.vm
Normal file
|
@ -0,0 +1,31 @@
|
|||
#**
|
||||
* 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
|
Loading…
Add table
Add a link
Reference in a new issue