Values_1.GetBucketsAggregationRequestSourceAggregates on indexed data with search queries pertaining to particular fields. Requires permission to access the GetBucketsAggregation action.
type nonrec t = {indexName : Values_0.IndexName.t option;The name of the index to search.
*)queryString : Values_0.QueryString.t;The search query string.
*)aggregationField : Values_0.AggregationField.t;The aggregation field.
*)queryVersion : Values_0.QueryVersion.t option;The version of the query.
*)bucketsAggregationType : Values_0.BucketsAggregationType.t;The basic control of the response shape and the bucket aggregation type to perform.
*)}val make :
?indexName:??? ->
?queryVersion:??? ->
queryString:Values_0.QueryString.t ->
aggregationField:Values_0.AggregationField.t ->
bucketsAggregationType:Values_0.BucketsAggregationType.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `String of Values_0.IndexName.t
| `Structure of
(string * [> `Structure of (string * [> `Integer of int ]) list ])
list ])
list ]