1.2 KiB
1.2 KiB
GetGetResult [interface-GetGetResult]
| Name | Type | Description |
|---|---|---|
_id |
Id | The unique identifier for the document. |
_ignored |
string[] | |
_index |
IndexName | The name of the index the document belongs to. |
_primary_term |
long | The primary term assigned to the document for the indexing operation. |
_routing |
string | The explicit routing, if set. |
_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. |
_source |
TDocument | If found is true, it contains the document data formatted in JSON. If the _source parameter is set to false or the stored_fields parameter is set to true, it is excluded. |
_version |
VersionNumber | The document version, which is ncremented each time the document is updated. |
fields |
Record<string, any> | If the stored_fields parameter is set to true and found is true, it contains the document fields stored in the index. |
found |
boolean | Indicates whether the document exists. |