I'm new to ES Python Client (https://elasticsearch-py.readthedocs.io/en/master/) and have an odd issue on query result from Elasticsearch.search().
Queried data has a datetime field holding UTC timestamp but Elasticsearch.search() returns it in my local timezone, which is UTS+9.
It looks like Elasticsearch.search() automatically(by default?) converts the datetime field into my local timezone.
I'd like to confirm if this is an expected behavior and how I can set customized timezone in Elasticsearch.search().
Many thanks in advance for your help!
Regards,
Sat
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.