Module Values.StatusSource

Provides information about the status of documents submitted for indexing.

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

    The identifier of the document.

    *)
  2. documentStatus : DocumentStatus.t option;
    (*

    The current status of a document. If the document was submitted for deletion, the status is NOT_FOUND after the document is deleted.

    *)
  3. failureCode : String_.t option;
    (*

    Indicates the source of the error.

    *)
  4. failureReason : String_.t option;
    (*

    Provides detailed information about why the document couldn't be indexed. Use this information to correct the error before you resubmit the document for indexing.

    *)
}
Sourceval make : ?documentId:??? -> ?documentStatus:??? -> ?failureCode:??? -> ?failureReason:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum 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