Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 716 Bytes

File metadata and controls

21 lines (14 loc) · 716 Bytes
description ObjectStateTermAggregation

ObjectStateTermAggregation

The ObjectStateTermAggregation aggregates search results by the content item's object state.

Arguments

  • name - name of the Aggregation object
  • objectStateGroupIdentifier - string representing the identifier of the object state group to aggregate results by

Example

$query = new Query();
$query->aggregations[] = new Aggregation\Location\ObjectStateTermAggregation('object_state', 'ibexa_lock');

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