After aggregation I have documents with below structure in a bucket.
{ ... array: [ { ... }, { ... }, { key: value } ] }
Can I somehow apply unique count metric for key field? Thanks.
P.S
Does this limitation mean I can't do aggregation or perform metrics on key fields/values like below ?
{ ... array: [ { ... }, { ... }, { key: value } ] }
{ ... array: [ 'key1', ' key2' ] }