Module Values_0.BucketSource

A count of documents that meets a specific aggregation criteria.

Sourcetype nonrec t = {
  1. keyValue : BucketKeyValue.t option;
    (*

    The value counted for the particular bucket.

    *)
  2. count : Count.t option;
    (*

    The number of documents that have the value counted for the particular bucket.

    *)
}
Sourceval make : ?keyValue:??? -> ?count:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of Count.t | `String of BucketKeyValue.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t