public function addScriptScoreFunction(AbstractScript $script, AbstractQuery $filter = null, float $weight = null)
    {
        return $this->addFunction('script_score', $script, $filter, $weight);
    }