Module Values.SuggestHighlightsSource

Describes how the parts of the textQuery matched the input query by returning the sections of the response which matched to textQuery terms.

Sourcetype nonrec t = {
  1. title : HighlightList.t option;
    (*

    Indicates the starting and ending index of the title in the text query that match the found title.

    *)
  2. address : SuggestAddressHighlights.t option;
    (*

    The place's address.

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