Then you need to form your start at relative to your timezone.
What I’d actually recommend is that if you need to bucket by day,
you index the day in a separate field. Of course, if you have to
bucket by day in arbitrary timezones that won’t work…..
Best,
Erick
> On Dec 24, 2020, at 4:42 PM, ufu
Hello all,
I have a plong field in my schema representing a Unix timestamp
I’m doing a range facet over this field to find which event occured on which
day. I’m setting “start” on some date at 00:00 o’clock, end on another, and
setting gap to 86400 (total seconds in a day)
...
"type": "range"