Values.FacetResultThe facet values for the documents in the response.
type nonrec t = {documentAttributeKey : DocumentAttributeKey.t option;The key for the facet values. This is the same as the DocumentAttributeKey provided in the query.
*)documentAttributeValueType : DocumentAttributeValueType.t option;The data type of the facet value. This is the same as the type defined for the index field when it was created.
*)documentAttributeValueCountPairs : DocumentAttributeValueCountPairList.t option;An array of key/value pairs, where the key is the value of the attribute and the count is the number of documents that share the key value.
*)}val make :
?documentAttributeKey:DocumentAttributeKey.t ->
?documentAttributeValueType:DocumentAttributeValueType.t ->
?documentAttributeValueCountPairs:DocumentAttributeValueCountPairList.t ->
unit ->
t