Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Elastica
QueryBuilder
DSL
Aggregation
value_count
Elastica\QueryBuilder\DSL\Aggregation::value_count PHP Method
Aggregation Class Documentation
Show file
Open project: ruflin/elastica
value_count()
public
method
value count aggregation.
See link:
https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-metrics-valuecount-aggregation.html
public
value_count
(
string
$name
,
string
$field
) :
Elastica\Aggregation\ValueCount
$name
string
$field
string
return
Elastica\Aggregation\ValueCount
public function value_count($name, $field) { return new ValueCount($name, $field); }
Aggregation
avg
bucket_script
cardinality
children
date_histogram
date_range
extended_stats
filter
filters
geo_bounds
geo_distance
geohash_grid
getType
global_agg
histogram
ipv4_range
max
min
missing
nested
percentile_ranks
percentiles
range
reverse_nested
scripted_metric
serial_diff
significant_terms
stats
sum
terms
top_hits
value_count