source: sandbox/expresso-solr/solr/example/solr/conf/velocity/clusterResults.vm @ 7588

Revision 7588, 378 bytes checked in by adir, 11 years ago (diff)

Ticket #000 - Adicionando a integracao de buscas com Solr na base a ser isnerida na comunidade

Line 
1#foreach ($clusters in $response.response.clusters)
2    #set($labels = $clusters.get('labels'))
3    #set($docs = $clusters.get('docs'))
4    <h3>#foreach ($label in $labels)$label#if( $foreach.hasNext ),#end#end</h3>
5        <ol>
6        #foreach ($cluDoc in $docs)
7          <li><a href="#url_for_home?q=id:$cluDoc">$cluDoc</a></li>
8        #end
9        </ol>
10       
11   
12#end
Note: See TracBrowser for help on using the repository browser.