The SectionTermAggregation aggregates search results by the content item's Section.
name
- name of the Aggregation object
$query = new Query();
$query->aggregations[] = new Aggregation\SectionTermAggregation('section');
[[= include_file('docs/snippets/search_term_aggregation_settings.md') =]]