Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 493 Bytes

sectionterm_aggregation.md

File metadata and controls

16 lines (10 loc) · 493 Bytes

SectionTermAggregation

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

Arguments

  • name - name of the Aggregation object

Example

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

[[= include_file('docs/snippets/search_term_aggregation_settings.md') =]]