Module Values.HighlightSource

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

Sourcetype nonrec t = {
  1. startIndex : HighlightStartIndexInteger.t option;
    (*

    Start index of the highlight.

    *)
  2. endIndex : HighlightEndIndexInteger.t option;
    (*

    End index of the highlight.

    *)
  3. value : HighlightValueString.t option;
    (*

    The highlight's value.

    *)
}
Sourceval make : ?startIndex:??? -> ?endIndex:??? -> ?value:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of HighlightStartIndexInteger.t | `String of HighlightValueString.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