# rangeFilter on \_timestamp field

**URL:** <https://discuss.elastic.co/t/rangefilter-on--timestamp-field/9059>\
**Category:** Elasticsearch\
**Created:** [September 18, 2012, 10:15pm UTC](https://discuss.elastic.co/t/rangefilter-on--timestamp-field/9059 "2012-09-18T22:15:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Felipe\_Hummel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/felipe_hummel/32/1263_2.png) [@Felipe\_Hummel](https://discuss.elastic.co/u/Felipe_Hummel)\
**Post date:** [September 18, 2012, 10:15pm UTC](https://discuss.elastic.co/t/rangefilter-on--timestamp-field/9059/1 "2012-09-18T22:15:10Z")

</div>

Can I do a rangeFilter on \_timestamp field? the field is currently  
configured: ""\_timestamp" : { "enabled" : true , "store" : "yes" },". Does  
it need to be indexed?

For me, it seems to be filtering nothing.

--

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [September 28, 2012, 11:19am UTC](https://discuss.elastic.co/t/rangefilter-on--timestamp-field/9059/2 "2012-09-28T11:19:51Z")

</div>

Yes, you should be able to do range query on it (and it doesn't need to be stored). Can you gist a curl recreation that shows that it does not work for you?

On Sep 19, 2012, at 12:15 AM, Felipe Hummel [felipehummel@gmail.com](mailto:felipehummel@gmail.com) wrote:

> Can I do a rangeFilter on \_timestamp field? the field is currently configured: ""\_timestamp" : { "enabled" : true , "store" : "yes" },". Does it need to be indexed?
> 
> For me, it seems to be filtering nothing.
> 
> --

--

---

<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, 3:10am UTC](https://discuss.elastic.co/t/rangefilter-on--timestamp-field/9059/3 "2017-07-06T03:10:59Z")

</div>


