getType()
getType() : string
must return type for QueryBuilder usage.
elasticsearch aggregation DSL.
min(string  $name) : \Elastica\Aggregation\Min
                min aggregation.
| string | $name | 
max(string  $name) : \Elastica\Aggregation\Max
                max aggregation.
| string | $name | 
sum(string  $name) : \Elastica\Aggregation\Sum
                sum aggregation.
| string | $name | 
sum_bucket(string $name, string|null $bucketsPath = null) : \Elastica\Aggregation\SumBucket
sum bucket aggregation.
| string | $name | |
| string|null | $bucketsPath | 
avg(string  $name) : \Elastica\Aggregation\Avg
                avg aggregation.
| string | $name | 
avg_bucket(string $name, string|null $bucketsPath = null) : \Elastica\Aggregation\AvgBucket
avg bucket aggregation.
| string | $name | |
| string|null | $bucketsPath | 
stats(string  $name) : \Elastica\Aggregation\Stats
                stats aggregation.
| string | $name | 
extended_stats(string  $name) : \Elastica\Aggregation\ExtendedStats
                extended stats aggregation.
| string | $name | 
value_count(string $name, string $field) : \Elastica\Aggregation\ValueCount
value count aggregation.
| string | $name | |
| string | $field | 
percentiles(string $name, string $field = null) : \Elastica\Aggregation\Percentiles
percentiles aggregation.
| string | $name | the name of this aggregation | 
| string | $field | the field on which to perform this aggregation | 
cardinality(string  $name) : \Elastica\Aggregation\Cardinality
                cardinality aggregation.
| string | $name | 
top_hits(string  $name) : \Elastica\Aggregation\TopHits
                top hits aggregation.
| string | $name | 
scripted_metric(string $name, string|null $initScript = null, string|null $mapScript = null, string|null $combineScript = null, string|null $reduceScript = null) : \Elastica\Aggregation\ScriptedMetric
scripted metric aggregation.
| string | $name | |
| string|null | $initScript | |
| string|null | $mapScript | |
| string|null | $combineScript | |
| string|null | $reduceScript | 
global_agg(string  $name) : \Elastica\Aggregation\GlobalAggregation
                global aggregation.
| string | $name | 
filter(string $name, \Elastica\Query\AbstractQuery $filter = null) : \Elastica\Aggregation\Filter
filter aggregation.
| string | $name | |
| \Elastica\Query\AbstractQuery | $filter | 
filters(string  $name) : \Elastica\Aggregation\Filters
                filters aggregation.
| string | $name | 
missing(string $name, string $field) : \Elastica\Aggregation\Missing
missing aggregation.
| string | $name | |
| string | $field | 
nested(string $name, string $path) : \Elastica\Aggregation\Nested
nested aggregation.
| string | $name | |
| string | $path | the nested path for this aggregation | 
reverse_nested(string $name, string $path = null) : \Elastica\Aggregation\ReverseNested
reverse nested aggregation.
| string | $name | The name of this aggregation | 
| string | $path | Optional path to the nested object for this aggregation. Defaults to the root of the main document. | 
terms(string  $name) : \Elastica\Aggregation\Terms
                terms aggregation.
| string | $name | 
significant_terms(string  $name) : \Elastica\Aggregation\SignificantTerms
                significant terms aggregation.
| string | $name | 
range(string  $name) : \Elastica\Aggregation\Range
                range aggregation.
| string | $name | 
date_range(string  $name) : \Elastica\Aggregation\DateRange
                date range aggregation.
| string | $name | 
ipv4_range(string $name, string $field) : \Elastica\Aggregation\IpRange
ipv4 range aggregation.
| string | $name | |
| string | $field | 
histogram(string $name, string $field, integer $interval) : \Elastica\Aggregation\Histogram
histogram aggregation.
| string | $name | the name of this aggregation | 
| string | $field | the name of the field on which to perform the aggregation | 
| integer | $interval | the interval by which documents will be bucketed | 
date_histogram(string $name, string $field, integer $interval) : \Elastica\Aggregation\DateHistogram
date histogram aggregation.
| string | $name | the name of this aggregation | 
| string | $field | the name of the field on which to perform the aggregation | 
| integer | $interval | the interval by which documents will be bucketed | 
geo_distance(string $name, string $field, string|array $origin) : \Elastica\Aggregation\GeoDistance
geo distance aggregation.
| string | $name | the name if this aggregation | 
| string | $field | the field on which to perform this aggregation | 
| string|array | $origin | the point from which distances will be calculated | 
geohash_grid(string $name, string $field) : \Elastica\Aggregation\GeohashGrid
geohash grid aggregation.
| string | $name | the name of this aggregation | 
| string | $field | the field on which to perform this aggregation | 
bucket_script(string $name, array|null $bucketsPath = null, string|null $script = null) : \Elastica\Aggregation\BucketScript
bucket script aggregation.
| string | $name | |
| array|null | $bucketsPath | |
| string|null | $script | 
serial_diff(string $name, string|null $bucketsPath = null) : \Elastica\Aggregation\SerialDiff
serial diff aggregation.
| string | $name | |
| string|null | $bucketsPath |