mirror of
https://github.com/iSharkFly-Docs/opensearch-docs-cn
synced 2025-03-02 23:39:31 +00:00
Fix incorrect documentation in index-document.md and update-document.md (#4420)
Signed-off-by: Jacob Glickman <jhg023@bucknell.edu>
This commit is contained in:
parent
81836baabe
commit
4984cfe724
@ -91,6 +91,6 @@ result | The result of the index operation.
|
||||
_shards | Detailed information about the cluster's shards.
|
||||
total | The total number of shards.
|
||||
successful | The number of shards OpenSearch successfully added the document to.
|
||||
failed | The number of shards OpenSearch failed to added the document to.
|
||||
failed | The number of shards OpenSearch failed to add the document to.
|
||||
_seq_no | The sequence number assigned when the document was indexed.
|
||||
_primary_term | The primary term assigned when the document was indexed.
|
||||
|
@ -50,7 +50,7 @@ Parameter | Type | Description | Required
|
||||
:--- | :--- | :--- | :---
|
||||
<index> | String | Name of the index. | Yes
|
||||
<_id> | String | The ID of the document to update. | Yes
|
||||
if_seq_no | Integer | Only perform the delete operation if the document's version number matches the specified number. | No
|
||||
if_seq_no | Integer | Only perform the update operation if the document has the specified sequence number. | No
|
||||
if_primary_term | Integer | Perform the update operation if the document has the specified primary term. | No
|
||||
lang | String | Language of the script. Default is `painless`. | No
|
||||
require_alias | Boolean | Specifies whether the destination must be an index alias. Default is false. | No
|
||||
@ -143,10 +143,10 @@ Field | Description
|
||||
_index | The name of the index.
|
||||
_id | The document's ID.
|
||||
_version | The document's version.
|
||||
_result | The result of the delete operation.
|
||||
_result | The result of the update operation.
|
||||
_shards | Detailed information about the cluster's shards.
|
||||
total | The total number of shards.
|
||||
successful | The number of shards OpenSearch successfully deleted the document from.
|
||||
failed | The number of shards OpenSearch failed to delete the document from.
|
||||
successful | The number of shards OpenSearch successfully updated the document in.
|
||||
failed | The number of shards OpenSearch failed to update the document in.
|
||||
_seq_no | The sequence number assigned when the document was indexed.
|
||||
_primary_term | The primary term assigned when the document was indexed.
|
||||
|
Loading…
x
Reference in New Issue
Block a user