Values.RelevantContentSourceRepresents a piece of content that is relevant to a search query.
type nonrec t = {content : String_.t option;The actual content of the relevant item.
*)documentId : DocumentId.t option;The unique identifier of the document containing the relevant content.
*)documentTitle : Title.t option;The title of the document containing the relevant content.
*)documentUri : Url.t option;The URI of the document containing the relevant content.
*)documentAttributes : DocumentAttributes.t option;Additional attributes of the document containing the relevant content.
*)scoreAttributes : ScoreAttributes.t option;Attributes related to the relevance score of the content.
*)}val to_value :
t ->
[> `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
DocumentAttributeValueStringValueString.t
| `Timestamp of Timestamp.t ])
list ])
list ]
list
| `String of String_.t
| `Structure of (string * [> `Enum of string ]) list ])
list ]