Update force-merge.md (#5824)

Signed-off-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
This commit is contained in:
kolchfa-aws 2023-12-11 11:09:21 -05:00 committed by GitHub
parent 0103dbfe71
commit 4d9b89287a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ When a document is deleted from an OpenSearch index, it is not deleted from the
In addition to periodic merging, you can force a segment merge using the Force Merge API.
Use the Force Merge API on an index only after all write requests sent to the index are completed. Force merge can produce very large segments. If write requests are still sent to the index, then the merge policy does not merge these segments until they primarily consist of deleted documents. This can increase disk space usage and lead to performance degradation.
Use the Force Merge API on an index only after all write requests sent to the index are completed. The force merge operation can produce very large segments. If write requests are still sent to the index, then the merge policy does not merge these segments until they primarily consist of deleted documents. This can increase disk space usage and lead to performance degradation.
{: .warning}
When you call the Force Merge API, the call is blocked until merge completion. If during this time the connection is lost, the force merge operation continues in the background. New force merge requests sent to the same index will be blocked until the currently running merge operation is complete.
@ -120,4 +120,4 @@ The following table lists all response fields.
| `shards` | Object | Contains information about the shards on which the request was executed. |
| `shards.total` | Integer | The number of shards on which the operation was executed. |
| `shards.successful` | Integer | The number of shards on which the operation was successful. |
| `shards.failed` | Integer | The number of shards on which the operation failed. |
| `shards.failed` | Integer | The number of shards on which the operation failed. |