Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 1.87 KB

File metadata and controls

34 lines (26 loc) · 1.87 KB

Aggregation objects

Every object is as close to documentation as possible. Also reference provided in doc blocks where possible. Like this

Every aggregation object implements \Spameri\ElasticQuery\Aggregation\LeafAggregationInterface and is capable of converting to array.

AggregationCollection is also LeafAggregationInterface, so you can nest as you need.

Implementations

Term Aggregation
Histogram Aggregation
Range Aggregation
AggregationCollection Aggregation
  • Class \Spameri\ElasticQuery\Aggregation\AggregationCollection
  • Implementation
  • Top level aggregations.
LeafAggregationCollection Aggregation
  • Class \Spameri\ElasticQuery\Aggregation\LeafAggregationCollection
  • Implementation
  • Nested aggregations collection.