Elastic Search Recency Boosting - gradual decay

I am setting up an elastic search application with Recency Boosts however on playing with Elasticsearch I see that the boosting is leading to relevant search results older than a few days getting filtered out.

How do I boost the score of recent results without filtering out older search results? My use case needs boosting but older search results shouldn't be simply filtered out

Hey Lakshay, welcome to the community!

This is a common issue with recency boosts in App Search, please refer to these workarounds

Can you share your current mapping and the query you used?

You could potentially wrap your query in a function_score and add a decay function on your date field as another potential workaround.

Read more:

Hope this helps! Let me know if you get stuck.