# Recurring Date - What is the best patterns?

**URL:** <https://discuss.elastic.co/t/recurring-date-what-is-the-best-patterns/288515>\
**Category:** Elasticsearch\
**Created:** [November 5, 2021, 5:19pm UTC](https://discuss.elastic.co/t/recurring-date-what-is-the-best-patterns/288515 "2021-11-05T17:19:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Remy\_Letient](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/remy_letient/32/48128_2.png) [@Remy\_Letient](https://discuss.elastic.co/u/Remy_Letient)\
**Post date:** [November 5, 2021, 5:19pm UTC](https://discuss.elastic.co/t/recurring-date-what-is-the-best-patterns/288515/1 "2021-11-05T17:19:11Z")

</div>

Hi,  
I need to represent "recurring event" like "each month" with the goal to create a calendar view of them. The events can be unlimited in time.  
What is the best way to represent this kind of data to permit query like "search all events between the 01/01/2021 and the 23/01/2021" ?  
A first approach is to generate one entry for each event instance, but I'm afraid about the amount of data that can be generated, and this approach is difficult to imagine to handle unlimited event instance in the time.

Thank you for your advice,  
Rémy

---

<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:** [December 3, 2021, 5:19pm UTC](https://discuss.elastic.co/t/recurring-date-what-is-the-best-patterns/288515/2 "2021-12-03T17:19:44Z")

</div>

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