I want to do a statistical facet on one of my arrays. I hope something like
"script" : "doc['myField'].doubleValue
or
"script" : "doc['myField'].count
would work. I havent found any array count method in mvel and I don't even know if accessing the array field in a script actually gives me the array.