I'm wondering how to boost recent documents in Redisearch. There's no timestamp type for fields, but it's possible to make a numeric type like "day_of_creation" e.g. as number of days since 1970.
The question then is how to boost on such a field without updating the index, e.g. a modifier function like score = score * 1/(1 + day_of_query - document.day_of_creation)
. This means same-day documents retain their score, while day 2 documents have half the score, day 3 have one-third the score, etc.
I can see it might work via aggregators or a custom scoring function, but not entirely sure if either is able to do this.