Module Values.CollapsedResultDetailSource

Provides details about a collapsed group of search results.

Sourcetype nonrec t = {
  1. documentAttribute : DocumentAttribute.t option;
    (*

    The value of the document attribute that results are collapsed on.

    *)
  2. expandedResults : ExpandedResultList.t option;
    (*

    A list of results in the collapsed group.

    *)
}
Sourceval make : ?documentAttribute:??? -> ?expandedResults:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of DocumentAttributeKey.t | `Structure of (string * [> `List of [> `String of String_.t ] list | `Long of Long.t | `String of DocumentAttributeStringValue.t | `Timestamp of Timestamp.t ]) list ]) list ] list | `String of ResultId.t | `Structure of (string * [> `List of [> `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `Integer of Integer.t ]) list ] list | `String of String_.t ]) list ]) list ] list | `Structure of (string * [> `String of DocumentAttributeKey.t | `Structure of (string * [> `List of [> `String of String_.t ] list | `Long of Long.t | `String of DocumentAttributeStringValue.t | `Timestamp of Timestamp.t ]) 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