#if($response.facetFields)
    <h2 #annTitle("Facets generated by adding &facet.field= to the request")>Field Facets</h2>
    #foreach($field in $response.facetFields)
      <span class="facet-field">$field.name</span>

      <ul>
        #foreach($facet in $field.values)
            <li><a href="#url_for_facet_filter($field.name, $facet.name)">$facet.name</a> ($facet.count)</li>
        #end
      </ul>
    #end
  #end