I want to do a statistical aspect on one of my arrays. Hope something like
"script" : "doc['myField'].doubleValue
or
"script" : "doc['myField'].count
will work. I did not find the method of counting the array in mvel, and I donβt even know if access to the array field in the script really gives me an array.
Alden source share