1 <h2 #annTitle("Facets generated by adding &facet.range= to the request")>Range Facets</h2>
2 #foreach ($field in $response.response.facet_counts.facet_ranges)
3 ## Hide facets without value
4 #if($field.value.counts.size() > 0)
5 #set($name = $field.key)
7 #set($f = $field.value.counts)
8 #set($start = $field.value.start)
9 #set($end = $field.value.end)
10 #set($gap = $field.value.gap)
11 #set($before = $field.value.before)
12 #set($after = $field.value.after)
13 #display_facet_range($f, $display, $name, $start, $end, $gap, $before, $after)