Module Values.BucketSource

A container for facet information.

Sourcetype nonrec t = {
  1. value : String_.t option;
    (*

    The facet value being counted.

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

    The number of hits that contain the facet value in the specified facet field.

    *)
}
Sourceval make : ?value:??? -> ?count:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Long of Long.t | `String of String_.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