Adding functions for adding boost_factor and random_score functions to a function_score query