Document With Repeating Behaviour; Aka Event Doc that repeats every tuesday for 5 years

so what the problem?

how do I solve this without creating seperate event Docs for the next 5
years and storing them; why would I want to do that? Yes I can store an
Array of dates and I can find the event documents
however I need each repeat to return a document why?

so I can sort and find events; yes there is a master event that knows what
is repeated etc. but in terms of pagination and a ui I want these events to
be seen as individual documents

any ideas or suggestion most welcome; The only solution I can see is to
bulk create all these events and have logic on the 'app' side that would
know how to update/delete based on the 'master' event being changed?

Thanks

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/01334e57-9b95-4810-9e13-cfb934ad02d4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.