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
Aggregation
AbstractTermsAggregation
setSize
Elastica\Aggregation\AbstractTermsAggregation::setSize PHP Method
AbstractTermsAggregation Class Documentation
Show file
Open project: ruflin/elastica
setSize()
public
method
Sets the amount of terms to be returned.
public
setSize
(
integer
$size
)
$size
integer
The amount of terms to be returned.
public function setSize($size) { return $this->setParam('size', $size); }
AbstractTermsAggregation
setExclude
setExecutionHint
setInclude
setMinimumDocumentCount
setShardSize
setSize