Skip to content

LanguageTermAggregation

The LanguageTermAggregation aggregates search results by the Content item's language.

Arguments

  • name - name of the Aggregation object

Example

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