Values.SuggestionSourceA single query suggestion.
type nonrec t = {id : ResultId.t option;The UUID (universally unique identifier) of a single query suggestion.
*)value : SuggestionValue.t option;The value for the UUID (universally unique identifier) of a single query suggestion. The value is the text string of a suggestion.
*)sourceDocuments : SourceDocuments.t option;The list of document IDs and their fields/attributes that are used for a single query suggestion, if document fields set to use for query suggestions.
*)}val to_value :
t ->
[> `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `List of
[> `String of DocumentAttributeKey.t
| `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 String_.t ])
list ]
list
| `String of ResultId.t
| `Structure of
(string
* [> `Structure of
(string
* [> `List of
[> `Structure of
(string * [> `Integer of Integer.t ]) list ]
list
| `String of String_.t ])
list ])
list ])
list ]