FunctionScoreQuery: weight should also exist at the query level