public function visitBuilder(FacetBuilder $facetBuilder, $fieldId)
    {
        /** @var \eZ\Publish\API\Repository\Values\Content\Query\FacetBuilder\UserFacetBuilder $facetBuilder */
        $field = self::DOC_FIELD_MAP[$facetBuilder->type];

        return array(
            'facet.field' => "{!ex=dt key=${fieldId}}$field",
            "f.${field}.facet.limit" => $facetBuilder->limit,
            "f.${field}.facet.mincount" => $facetBuilder->minCount,
        );
    }
public function visitBuilder(FacetBuilder $facetBuilder, $fieldId)
    {
        /** @var \eZ\Publish\API\Repository\Values\Content\Query\FacetBuilder\UserFacetBuilder $facetBuilder */
        $field = self::DOC_FIELD_MAP[$facetBuilder->type];

        return array(
            'facet.field' => "{!ex=dt key=${fieldId}}$field",
            "f.${field}.facet.limit" => $facetBuilder->limit,
            "f.${field}.facet.mincount" => $facetBuilder->minCount,
        );
    }
{@inheritdoc}.