Skip to content

VisibilityTermAggregation

The VisibilityTermAggregation aggregates search results by the Content item's visibility.

Arguments

  • name - name of the Aggregation object

Example

1
2
$query = new Query();
$query->aggregations[] = new Aggregation\VisibilityTermAggregation('visibility');