# Warmer API, relative date ranges

**URL:** <https://discuss.elastic.co/t/warmer-api-relative-date-ranges/20688>\
**Category:** Elasticsearch\
**Created:** [November 11, 2014, 12:37pm UTC](https://discuss.elastic.co/t/warmer-api-relative-date-ranges/20688 "2014-11-11T12:37:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lasseschou](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lasseschou/32/845_2.png) [@lasseschou](https://discuss.elastic.co/u/lasseschou)\
**Post date:** [November 11, 2014, 12:37pm UTC](https://discuss.elastic.co/t/warmer-api-relative-date-ranges/20688/1 "2014-11-11T12:37:58Z")

</div>

Hi,

I'm considering using the warmer API for caching date range filters. Most  
users will use "last 30 days" or "last 7 days" in their filters so it's a  
good candidate for warming, at least with a "boxed" date range that only  
changes once every day.

Is this possible to do with the warmer API? I'm reluctant to using the  
"now" keyword, but is there another way?

Thanks,  
Lasse

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CADERWXqviLpa9PTRRCxRZQxDH3XjimyNOqy\_%3DstfgNCZdB\_rkQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CADERWXqviLpa9PTRRCxRZQxDH3XjimyNOqy_%3DstfgNCZdB_rkQ%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![lasseschou](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lasseschou/32/845_2.png) [@lasseschou](https://discuss.elastic.co/u/lasseschou)\
**Post date:** [November 24, 2014, 10:53am UTC](https://discuss.elastic.co/t/warmer-api-relative-date-ranges/20688/2 "2014-11-24T10:53:22Z")

</div>

Does anybody have any input on this question?

Lasse

On Tuesday, November 11, 2014 1:38:47 PM UTC+1, Lasse Schou wrote:

> Hi,
> 
> I'm considering using the warmer API for caching date range filters. Most  
> users will use "last 30 days" or "last 7 days" in their filters so it's a  
> good candidate for warming, at least with a "boxed" date range that only  
> changes once every day.
> 
> Is this possible to do with the warmer API? I'm reluctant to using the  
> "now" keyword, but is there another way?
> 
> Thanks,  
> Lasse

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/3156e62a-06eb-433a-93c5-5c00b14dde1c%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/3156e62a-06eb-433a-93c5-5c00b14dde1c%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 12:48am UTC](https://discuss.elastic.co/t/warmer-api-relative-date-ranges/20688/3 "2017-07-06T00:48:08Z")

</div>

Closed on July 6, 2017, 12:48am UTC


