The use of aggregation is popular for the use case: In this date range, how many visits we have in total?
However, what should I do when I want something reverse: On which days does I have the visits range from x to y?
I can think of we still have to use Aggregation to compute total visits of each day, and from that result, we will do a Range Aggregation to filter the result. But I can not come up with a query.
Thanks a lot for your help!