Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
Elastica
QueryBuilder
DSL
Aggregation
top_hits
Elastica\QueryBuilder\DSL\Aggregation::top_hits PHP Method
Aggregation Class Documentation
Mostrar archivo
Open project: ruflin/elastica
top_hits()
public
method
top hits aggregation.
See link:
https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-metrics-top-hits-aggregation.html
public
top_hits
(
string
$name
) :
TopHits
$name
string
return
Elastica\Aggregation\TopHits
public function top_hits($name) { return new TopHits($name); }
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