# How filter documents through exact date

**URL:** <https://discuss.elastic.co/t/how-filter-documents-through-exact-date/54586>\
**Category:** Elasticsearch\
**Created:** [July 2, 2016, 6:39pm UTC](https://discuss.elastic.co/t/how-filter-documents-through-exact-date/54586 "2016-07-02T18:39:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Amruth\_GM](https://avatars.discourse-cdn.com/v4/letter/a/ee59a6/32.png) [@Amruth\_GM](https://discuss.elastic.co/u/Amruth_GM)\
**Post date:** [July 2, 2016, 6:39pm UTC](https://discuss.elastic.co/t/how-filter-documents-through-exact-date/54586/1 "2016-07-02T18:39:30Z")

</div>

Hi,  
I am trying to query documents in index by exact date, i tried term query also but no luck, is there a way I can do it.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [July 3, 2016, 1:59am UTC](https://discuss.elastic.co/t/how-filter-documents-through-exact-date/54586/2 "2016-07-03T01:59:11Z")

</div>

You can do this with a filter, see [https://www.elastic.co/guide/en/elasticsearch/reference/2.3/query-filter-context.html](https://www.elastic.co/guide/en/elasticsearch/reference/2.3/query-filter-context.html)

Otherwise, provide more info. What have you tried? What does it look like? How does it not work for you? What do you expect?

---

<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 5, 2017, 10:38pm UTC](https://discuss.elastic.co/t/how-filter-documents-through-exact-date/54586/3 "2017-07-05T22:38:48Z")

</div>


