JavaScript is disabled on your browser.
Nested Class Summary
Nested Classes
Method Summary
All Methods Static Methods Instance Methods Concrete Methods
Contains additional information about the failed operation.
The document ID associated with the operation.
Required - Name of the index associated with the operation.
The primary term assigned to the document for the operation.
The sequence number assigned to the document for the operation.
void
Serialize this object to JSON.
protected void
protected static void
Contains shard information for the operation.
final int
Required - HTTP status code returned for the operation.
The document version associated with the operation.
Method Details
id
@Nullable
public final String id ()
The document ID associated with the operation.
API name: _id
index
Required - Name of the index associated with the operation. If the operation
targeted a data stream, this is the backing index into which the document was
written.
API name: _index
status
public final int status ()
Required - HTTP status code returned for the operation.
API name: status
error
Contains additional information about the failed operation. The parameter is
only returned for failed operations.
API name: error
primaryTerm
@Nullable
public final Long primaryTerm ()
The primary term assigned to the document for the operation.
API name: _primary_term
result
@Nullable
public final String result ()
Result of the operation. Successful values are
created
,
deleted
, and
updated
.
API name: result
seqNo
@Nullable
public final Long seqNo ()
The sequence number assigned to the document for the operation. Sequence
numbers are used to ensure an older version of a document doesn’t overwrite a
newer version.
API name: _seq_no
shards
Contains shard information for the operation.
API name: _shards
version
@Nullable
public final Long version ()
The document version associated with the operation. The document version is
incremented each time the document is updated.
API name: _version
forcedRefresh
@Nullable
public final Boolean forcedRefresh ()
API name: forced_refresh
serializeInternal
protected void serializeInternal (jakarta.json.stream.JsonGenerator generator,
JsonpMapper mapper)
setupBulkResponseItemDeserializer