Use terms in events yesterday to for filter when documents appears the last week

My use case requires search when some documents appears in the last 7 days based on the terms present in the documents exactly yesterday.
I want to avoid make two querys one for query the terms yesterday and another to take the seven days and apply the terms filter on it.

My final intention is make a daily transformation every day comparing with the week, but if it's not possible i settle with get a statically result.

I'm working with exact terms, not numeric values.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.