How to query array of objects with multiple filters

As title,
The file is roughly as follows:
doc01 [ { "product": "apple", "price": 12 } , { "product": "grave", "price": 18 } ]
doc02 [ { "product": "apple", "price": 15 } , { "product": "banana", "price": 15 } ]
doc03 [ { "product": "apple", "price": 18 } , { "product": "banana", "price": 15 } ]
I want to get the unique value for product and only carry by Price>=15
the output look likes
apple count:2
grave count:1
banana count:2

I'm really wonder this
THks!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.