$_params
$_params : array
Params.
Script filter.
This function can be used to handle params for queries, filter
$_query : array|\Elastica\Query\AbstractQuery
Query object.
__construct(array|string|\Elastica\Script\AbstractScript $script = null)
Construct script filter.
array|string|\Elastica\Script\AbstractScript | $script | OPTIONAL Script |
setScript(\Elastica\Script\Script|string|array $script) : $this
Sets script object.
\Elastica\Script\Script|string|array | $script |