Module Values_1.GetCardinalityRequestSource

Returns the approximate count of unique values that match the query. Requires permission to access the GetCardinality 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 option;
    (*

    The field to aggregate.

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

    The query version.

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