Module Values_1.GetBucketsAggregationRequestSource

Aggregates on indexed data with search queries pertaining to particular fields. Requires permission to access the GetBucketsAggregation action.

Sourcetype nonrec t = {
  1. indexName : Values_0.IndexName.t option;
    (*

    The name of the index to search.

    *)
  2. queryString : Values_0.QueryString.t;
    (*

    The search query string.

    *)
  3. aggregationField : Values_0.AggregationField.t;
    (*

    The aggregation field.

    *)
  4. queryVersion : Values_0.QueryVersion.t option;
    (*

    The version of the query.

    *)
  5. bucketsAggregationType : Values_0.BucketsAggregationType.t;
    (*

    The basic control of the response shape and the bucket aggregation type to perform.

    *)
}
Sourceval context_ : string
Sourceval make : ?indexName:??? -> ?queryVersion:??? -> queryString:Values_0.QueryString.t -> aggregationField:Values_0.AggregationField.t -> bucketsAggregationType:Values_0.BucketsAggregationType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of Values_0.IndexName.t | `Structure of (string * [> `Structure of (string * [> `Integer of int ]) list ]) list ]) 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