'abv' : [
{ '$match' : { 'beer_abv' : { '$gte' : 0 } } },
{ *'$bucket'* : {
groupBy: '$beer_abv',
boundaries: [ 0, 2, 4, 6, 8, 10 ],
default: 'way-too-much',
} }
],
} },
] ).pretty()