mingo
    Preparing search index...
    $bucket: PipelineOperator = ...

    Categorizes incoming documents into groups, called buckets, based on a specified expression and bucket boundaries and outputs a document per each bucket.

    See usage.