Toggle navigation
Hot Examples
JP
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
検索
Home
yii
elasticsearch
Query
stats
yii\elasticsearch\Query::stats PHP Method
Query Class Documentation
ファイルを表示
Open project: yiisoft/yii2-elasticsearch
stats()
public
method
Adds a 'stats' part to the query.
See also:
http://www.elastic.co/guide/en/elasticsearch/reference/current/search.html#stats-groups
public
stats
(
array
$groups
)
$groups
array
an array of groups to maintain a statistics aggregation for.
public function stats($groups) { $this->stats = $groups; return $this; }
Query
addAgg
addAggregate
addAggregation
addOptions
addSuggester
all
batch
column
count
createCommand
delete
each
exists
fields
filter
from
highlight
init
minScore
one
options
populate
postFilter
query
scalar
search
source
stats
timeout