Please format your code using </> icon as explained in this guide and not the citation button. It will make your post more readable.
Or use markdown style like:
```
CODE
```
Please edit your post.
Could you provide a full recreation script as described in About the Elasticsearch category. It will help to better understand what you are doing. Please, try to keep the example as simple as possible.
Anyway, few things to know.
If you don't define a TZ when indexing a date like 2017-11-28T19:30:00 it is supposed to be a UTC based date. That might explain what you are seeing.
So I'd probably either set the right TZ when indexing and index something like 2017-11-28T19:30:00-0500. Or I'd not use TZ at all in the range query.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.