All Downloads are FREE. Search and download functionalities are using the official Maven repository.

solr.Items.conf.velocity.hit_grouped.vm Maven / Gradle / Ivy

Go to download

The project contains a set of convenience methods on top of common data repositories.

The newest version!
#**
 *  Display grouped results
 *#

$grouping.key
Total Matches in Group: $grouping.value.matches
## list of groups #foreach ($group in $grouping.value.groups)
#if($group.groupValue)$group.groupValue#{else}No group#end ($group.doclist.numFound)
#foreach ($doc in $group.doclist) #set($docId = $doc.getFieldValue('id')) #if($doc.getFieldValue('name')) #parse("product_doc.vm") #elseif($doc.getFieldValue('compName_s')) #parse("join_doc.vm") #else #parse("richtext_doc.vm") #end #end
#end ## end of foreach group in grouping.value.groups
## div tag for entire list of groups
## end of div class=result-document




© 2015 - 2025 Weber Informatics LLC | Privacy Policy