I have some event (belongs to a fest) which have a fest id, start time (ST), end time (ET) and event id.
A fest can have many events.
Now i have to design a data-model in such a way that i can get all the events in a fest which contain the time range T1 - T2 [ ( ST < T1 ) AND ( ET > T2 ) ].
Please suggest the most optimal way to do this.
The problem that i am facing is, we can not perform inequality query on two clustering keys if we put ST and ET as clustering keys.
Thank you.