Description
Elasticsearch version (bin/elasticsearch --version
):
v7.2.0
Plugins installed: []
JVM version (java -version
):
OS version (uname -a
if on a Unix-like system):
Description of the problem including expected versus actual behavior:
Since upgrading to 7.2.0 my scripted field of doc['timestamp'].date.secondOfDay has stopped working, and no data shows up in Discover mode!
Steps to reproduce:
Please include a minimal but complete recreation of the problem, including
(e.g.) index creation, mappings, settings, query etc. The easier you make for
us to reproduce it, the more likely that somebody will take the time to look at it.
doc['field_name'].date.secondOfDay is given as an example in documentation - https://www.elastic.co/guide/en/elasticsearch/reference/7.2/modules-scripting-expression.html
I have also tried doc['@timestamp'].date.secondOfDay - note the different field name; timestamp is our own field that we populate.