Add function score queries