Module Values.SuggestionTextWithHighlightsSource

Provides text and information about where to highlight the query suggestion text.

Sourcetype nonrec t = {
  1. text : String_.t option;
    (*

    The query suggestion text to display to the user.

    *)
  2. highlights : SuggestionHighlightList.t option;
    (*

    The beginning and end of the query suggestion text that should be highlighted.

    *)
}
Sourceval make : ?text:??? -> ?highlights:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Integer of Integer.t ]) list ] list | `String of String_.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