invalid use of function score query is now a hard error