Elastica\Query\FunctionScore::setMaxBoost PHP Method

setMaxBoost() public method

Restrict the combined boost of the function_score query and its child query.
public setMaxBoost ( float $maxBoost )
$maxBoost float
    public function setMaxBoost($maxBoost)
    {
        return $this->setParam('max_boost', (double) $maxBoost);
    }