Module Values.AutocompleteHighlightsSource

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

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

    Indicates where the title field in the result matches the input query.

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

    Describes how part of the result address match the input query.

    *)
}
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 [> `List of [> `Structure of (string * [> `Integer of HighlightStartIndexInteger.t | `String of HighlightValueString.t ]) list ] list | `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 ]) 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