Skip to content

SectionTermAggregation

The SectionTermAggregation aggregates search results by the Content item's Section.

Arguments

  • name - name of the Aggregation object

Example

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