# Date range filter for document with multiple dates

**URL:** <https://discuss.elastic.co/t/date-range-filter-for-document-with-multiple-dates/90037>\
**Category:** Elasticsearch\
**Created:** [June 20, 2017, 5:54am UTC](https://discuss.elastic.co/t/date-range-filter-for-document-with-multiple-dates/90037 "2017-06-20T05:54:04Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [June 20, 2017, 6:28am UTC](https://discuss.elastic.co/t/date-range-filter-for-document-with-multiple-dates/90037/2 "2017-06-20T06:28:04Z")

</div>

Please format your code using `</>` icon as explained in [this guide](https://discuss.elastic.co/t/about-the-elasticsearch-category/21). It will make your post more readable.

Or use markdown style like:

````
```
CODE
```

````

I believe you can index that as:

```auto
{
  "event_date": ["2017-06-02", "2017-06-04", "2017-06-06"]
}

```

Unsure if this will solve your use case though.

---

_[View the full topic](https://discuss.elastic.co/t/date-range-filter-for-document-with-multiple-dates/90037)._
