Table of Contents

Class BulkOperationFailure

Namespace
Excalibur.Data.ElasticSearch.Projections
Assembly
Excalibur.Data.ElasticSearch.dll

Represents a single document failure in a bulk operation.

public sealed class BulkOperationFailure
Inheritance
BulkOperationFailure
Inherited Members

Properties

Document

Gets the document that failed.

public object? Document { get; init; }

Property Value

object

The document that failed.

DocumentId

Gets the document identifier.

public required string DocumentId { get; init; }

Property Value

string

The document identifier.

ErrorMessage

Gets the error message for this specific document.

public required string ErrorMessage { get; init; }

Property Value

string

The error message for this specific document.

ErrorType

Gets the error type or code.

public string? ErrorType { get; init; }

Property Value

string

The error type or code.