Elastica\Query\FunctionScore::setBoostMode PHP Method

setBoostMode() public method

The boost mode determines how the score of this query is combined with that of the child query.
public setBoostMode ( string $mode )
$mode string see BOOST_MODE_* constants for valid options. Default is multiply.
    public function setBoostMode($mode)
    {
        return $this->setParam('boost_mode', $mode);
    }