Module Values.HighlightSource

Offset specification to describe highlighting of document excerpts for rendering search results and recommendations.

Sourcetype nonrec t = {
  1. beginOffsetInclusive : HighlightOffset.t option;
    (*

    The offset for the start of the highlight.

    *)
  2. endOffsetExclusive : HighlightOffset.t option;
    (*

    The offset for the end of the highlight.

    *)
}
Sourceval make : ?beginOffsetInclusive:??? -> ?endOffsetExclusive:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of HighlightOffset.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