Method |
Description |
|
__construct ( ONGR\ElasticsearchDSL\Search $query = null ) |
Builder constructor. |
|
append ( ONGR\ElasticsearchDSL\Aggregation\AbstractAggregation $aggregation ) |
Append an aggregation to the aggregation query builder. |
|
average ( $alias, string | null $field = null, string | null $script = null ) |
Add an average aggregate. |
|
cardinality ( $alias, string | null $field = null, string | null $script = null, integer $precision = null, boolean $rehash = null ) |
Add an cardinality aggregate. |
|
dateRange ( $alias, $field, $format, array $ranges ) |
Add a date range aggregate. |
|
geoBounds ( string $alias, null | string $field, boolean $wrap_longitude = true ) |
Add a geo bounds aggregate. |
|
geoDistance ( string $alias, null | string $field, string $origin, array $ranges ) |
Add a geo bounds aggregate. |
|
geoHashGrid ( string $alias, null | string $field, float $precision, null $size = null, null $shardSize = null ) |
Add a geo hash grid aggregate. |
|
histogram ( $alias, string $field, integer $interval, integer $minDocCount = null, string $orderMode = null, string $orderDirection = 'asc', integer $extendedBoundsMin = null, integer $extendedBoundsMax = null, boolean $keyed = null ) |
Add a histogram aggregate. |
|
ipv4Range ( $alias, null $field, array $ranges ) |
Add an ipv4 range aggregate. |
|
max ( $alias, string | null $field = null, string | null $script = null ) |
Add an max aggregate. |
|
min ( $alias, string | null $field = null, string | null $script = null ) |
Add an min aggregate. |
|
missing ( string $alias, string $field ) |
Add an missing aggregate. |
|
percentile ( $alias, string $field, $percents, null $script = null, null $compression = null ) |
Add an percentile aggregate. |
|
percentileRanks ( $alias, string $field, array $values, null $script = null, null $compression = null ) |
Add an percentileRanks aggregate. |
|
range ( string $alias, string $field, array $ranges, boolean $keyed = false ) |
Add a range aggregate. |
|
stats ( $alias, string $field = null, string | null $script = null ) |
Add an stats aggregate. |
|
sum ( $alias, string $field = null, string | null $script = null ) |
Add an sum aggregate. |
|
terms ( string $alias, string | null $field = null, string | null $script = null ) |
Add a terms aggregate. |
|
toDSL ( ) : array |
Return the DSL query. |
|
valueCount ( $alias, string $field = null, string | null $script = null ) |
Add a value count aggregate. |
|