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
BucketScript
setScript
Elastica\Aggregation\BucketScript::setScript PHP Method
BucketScript Class Documentation
Show file
Open project: ruflin/elastica
setScript()
public
method
Set the script for this aggregation.
public
setScript
(
string
$script
)
$script
string
public function setScript($script) { return $this->setParam('script', $script); }
BucketScript
__construct
setBucketsPath
setFormat
setGapPolicy
setScript
toArray