Module Values.ResultDataSource

Information about the result.

Sourcetype nonrec t = {
  1. document : Document.t option;
    (*

    The document.

    *)
  2. relevanceScore : RelevanceScore.t option;
    (*

    The relevance score of the results.

    *)
  3. resultId : Uuid.t option;
    (*

    The identifier of the result data.

    *)
}
Sourceval make : ?document:??? -> ?relevanceScore:??? -> ?resultId:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Double of RelevanceScore.t | `String of Uuid.t | `Structure of (string * [> `Structure of (string * [> `List of [> `Structure of (string * [> `Integer of HighlightOffset.t ]) list ] list | `String of Arn.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