
solr.Items.conf.velocity.facet_fields.vm Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mklab-framework-client Show documentation
Show all versions of mklab-framework-client Show documentation
The project contains a set of convenience methods on top of common data repositories.
The newest version!
#**
* Display facets based on field values
* e.g.: fields specified by &facet.field=
*#
#if($response.facetFields)
Field Facets
#foreach($field in $response.facetFields)
## Hide facets without value
#if($field.values.size() > 0)
$field.name
#foreach($facet in $field.values)
-
#if($facet.name!=$null)$esc.html($display.truncate($facet.name,20))#elsemissing#end ($facet.count)
#end
#end ## end if > 0
#end ## end for each facet field
#end ## end if response has facet fields
© 2015 - 2025 Weber Informatics LLC | Privacy Policy