Class BulkOperationErrorContext
- Namespace
- Excalibur.Data.ElasticSearch.Projections
- Assembly
- Excalibur.Data.ElasticSearch.dll
Provides context information about bulk operation errors.
public sealed class BulkOperationErrorContext
- Inheritance
-
BulkOperationErrorContext
- Inherited Members
Properties
Failures
Gets the collection of failed document operations.
public required IReadOnlyList<BulkOperationFailure> Failures { get; init; }
Property Value
- IReadOnlyList<BulkOperationFailure>
The collection of failed document operations.
IndexName
Gets the index name for the bulk operation.
public required string IndexName { get; init; }
Property Value
- string
The index name for the bulk operation.
Metadata
Gets additional context metadata.
public IDictionary<string, object>? Metadata { get; init; }
Property Value
- IDictionary<string, object>
Additional context metadata.
OperationType
Gets the operation type (e.g., "BulkIndex", "BulkUpdate").
public required string OperationType { get; init; }
Property Value
- string
The operation type (e.g., "BulkIndex", "BulkUpdate").
ProjectionType
Gets the type of projection being processed in bulk.
public required string ProjectionType { get; init; }
Property Value
- string
The type of projection being processed in bulk.
SuccessfulDocuments
Gets the number of successfully processed documents.
public required int SuccessfulDocuments { get; init; }
Property Value
- int
The number of successfully processed documents.
TotalDocuments
Gets the total number of documents in the bulk operation.
public required int TotalDocuments { get; init; }
Property Value
- int
The total number of documents in the bulk operation.