I am running Elasticsearch 5.6.8.
In my script in an UPDATE, I assume a field being a HasMap, but I got an error like:
Caused by: java.lang.IllegalArgumentException: Unable to find dynamic method [containsKey] with  arguments for class [java.util.ArrayList].
Is it possible to determine the type of a
ctx._source.* field with painless, so I can react accordingly?
Thanks in advance,