Module Values.FeaturedDocumentSource

A featured document. This document is displayed at the top of the search results page, placed above all other results for certain queries. If there's an exact match of a query, then the document is featured in the search results.

Sourcetype nonrec t = {
  1. id : DocumentId.t option;
    (*

    The identifier of the document to feature in the search results. You can use the Query API to search for specific documents with their document IDs included in the result items, or you can use the console.

    *)
}
Sourceval make : ?id:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of DocumentId.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