currently im trying to get my bucketscript "ipv_value_total" working. ( I'm working on an ES 5.2. )
My goal is to get the bucket script to the point where i get the ipv_value_total for every horse bucket.
i don't know if its not possible to go with a bucketscript through a terms aggregation or my bucketpath.
It would be greate if someone could look at my query.