Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
function_score (FunctionScoreQuery) decay functions do not allow date math #3892
For "linear", "gauss", "exp" ... functions, the "origin" function should allow parameters and date math. "now" as origin fails to parse. Just as "now-7d" would as well. Obviously offset can replace part of the date math, the origin still would be useful to be set in that way.