Class

eZ\Publish\API\Repository\Values\Content\Query\FacetBuilder\TermFacetBuilder

class TermFacetBuilder extends FacetBuilder

Build a term facet.

If provided the search service returns a TermFacet which contains the counts for content containing terms in arbitrary fields

Properties

string $name The name of the facet.
bool $global If true the facet runs in a global mode not restricted by the query.
Criterion $filter An additional facet filter that will further filter the documents the facet will be executed on.
int $limit Number of facets (terms) returned.
int $minCount Specifies the minimum count.