Module Values.SourceDocumentSource

The document ID and its fields/attributes that are used for a query suggestion, if document fields set to use for query suggestions.

Sourcetype nonrec t = {
  1. documentId : String_.t option;
    (*

    The identifier of the document used for a query suggestion.

    *)
  2. suggestionAttributes : DocumentAttributeKeyList.t option;
    (*

    The document fields/attributes used for a query suggestion.

    *)
  3. additionalAttributes : DocumentAttributeList.t option;
    (*

    The additional fields/attributes to include in the response. You can use additional fields to provide extra information in the response. Additional fields are not used to based suggestions on.

    *)
}
Sourceval make : ?documentId:??? -> ?suggestionAttributes:??? -> ?additionalAttributes:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `String of DocumentAttributeKey.t | `Structure of (string * [> `String of DocumentAttributeKey.t | `Structure of (string * [> `List of [> `String of String_.t ] list | `Long of Long.t | `String of DocumentAttributeStringValue.t | `Timestamp of Timestamp.t ]) list ]) list ] list | `String of String_.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