Values.SearchResponseSourceThe result of a Search request. Contains the documents that match the specified search criteria and any requested fields, highlights, and facet information.
type nonrec t = {status : SearchStatus.t option;The status information returned for the search request.
*)hits : Hits.t option;The documents that match the search criteria.
*)facets : Facets.t option;The requested facet information.
*)stats : Stats.t option;The requested field statistics information.
*)}type nonrec error = [ | `SearchException of SearchException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `SearchException of SearchException.t
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `SearchException of SearchException.t
| `Unknown_operation_error of string * string option ]val to_value :
t ->
[> `Structure of
(string
* [> `Map of
([> `String of String_.t ]
* [> `Structure of
(string
* [> `Double of Double.t
| `List of
[> `Structure of
(string
* [> `Long of Long.t | `String of String_.t ])
list ]
list
| `Long of Long.t
| `String of String_.t ])
list ])
list
| `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `Map of
([> `String of String_.t ]
* [> `List of [> `String of String_.t ] list
| `String of String_.t ])
list
| `String of String_.t ])
list ]
list
| `Long of Long.t
| `String of String_.t ])
list ])
list ]