Module Values.SuggestRequestSource

Container for the parameters to the Suggest request.

Sourcetype nonrec t = {
  1. query : Query.t;
    (*

    Specifies the string for which you want to get suggestions.

    *)
  2. suggester : Suggester.t;
    (*

    Specifies the name of the suggester to use to find suggested matches.

    *)
  3. size : SuggestionsSize.t option;
    (*

    Specifies the maximum number of suggestions to return.

    *)
}
Sourceval context_ : string
Sourceval make : ?size:??? -> query:Query.t -> suggester:Suggester.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Long of SuggestionsSize.t | `String of Query.t ]) 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