Files
elasticsearch-js/docs/reference/api/WriteResponseBase.md
2025-05-27 15:30:21 -05:00

981 B

Interface WriteResponseBase

Name Type Description
_id Id The unique identifier for the added document.
_index IndexName The name of the index the document was added to.
_primary_term long The primary term assigned to the document for the indexing operation.
_seq_no SequenceNumber The sequence number assigned to the document for the indexing operation. Sequence numbers are used to ensure an older version of a document doesn't overwrite a newer version.
_shards ShardStatistics Information about the replication process of the operation.
_version VersionNumber The document version, which is incremented each time the document is updated.
forced_refresh boolean  
result Result The result of the indexing operation: created or updated.