Module Values.BuildSuggestersResponseSource

The result of a BuildSuggester request. Contains a list of the fields used for suggestions.

Sourcetype buildSuggestersResult = {
  1. fieldNames : FieldNameList.t option;
}
Sourceand responseMetaData = unit
Sourceand t = {
  1. buildSuggestersResult : buildSuggestersResult;
  2. responseMetaData : responseMetaData;
}
Sourcetype error = [
  1. | `BaseException of BaseException.t
  2. | `InternalException of InternalException.t
  3. | `ResourceNotFoundException of ResourceNotFoundException.t
  4. | `ValidationException of ValidationException.t
  5. | `Unknown_operation_error of string * string option
]
Sourceval context_ : string
Sourceval make : ?fieldNames:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `BaseException of BaseException.t | `InternalException of unit | `ResourceNotFoundException of unit | `Unknown_operation_error of string * string option | `ValidationException of unit ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `BaseException of BaseException.t | `InternalException of unit | `ResourceNotFoundException of unit | `Unknown_operation_error of string * string option | `ValidationException of unit ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `List of [> `String of FieldName.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