This I didn't knew...
I have a file named buscar.vm with the important part as follows:
 <div class="results">
    #foreach($doc in $response.results)
      #parse("hit.vm")
    #end
 </div>

hit.vm as follows:
 #set($docId = $doc.getFieldValue('id'))
 
 <div class="result-document">
   #parse("doc.vm")
 </div>

and finally doc.vm as follows:

 <div> #field('boletim') de $date.format("dd/MM/yyyy",    
$doc.getFieldValue('data')) <#field('url')>  </div>
 #if ($params.get('q').trim().length() > 0)
 <div>#field('conteudo')</div>
 #end





--
View this message in context: 
http://lucene.472066.n3.nabble.com/highlighting-multiple-occurrences-tp4025715p4026048.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to