I'm trying to get a better understanding of Painless and one thing that seems unclear to me is the
- What is the difference between
- Do I access nested fields like
- I'm kind of unclear on how to use the Painless API page to find methods and properties available for certain data types. For example, I know you can use
[3,4,5].length, but can you use
lengthon maps as well as arrays? I see in the docs I can use
add()to add a value to an array, but can I do that with Maps too? What other functions are available? The API page seems hard for me to figure this out.