public function build_filter_field($filter, $key, $section)
 {
     // set up the faceting params
     if ($section->facet) {
         $sf = $section->filter;
         $facet = $filter->facet->{$sf};
         $facet->field_ext = $filter->facet_search_ext;
         $facet->filter_name = $sf;
         //$section->filter;
         foreach ($section->facet as $attr => $value) {
             $facet->{$attr} = $value;
         }
         // automatically populate facet limit if show_max is sepecified
         if ($section->facet->show_max && !$facet->limit) {
             $facet->limit = $section->facet->show_max + 1;
         }
         // Handle count reducing tag/exclude for multi-choice filter fields
         if ($section->facet->select == "multiple") {
             $facet->multi = true;
         }
     }
     parent::build_filter_field($filter, $key, $section);
 }