Add more function_score queries and the `percentiles` aggregation