From ee3d8f7f78a81a69a1ed07ad21894181b17641be Mon Sep 17 00:00:00 2001 From: "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Date: Fri, 10 Mar 2023 10:37:35 -0800 Subject: [PATCH] Update slice parameter with additional information (#3350) (#3396) * Update slice parameter with additional information * Update _api-reference/document-apis/reindex.md * doc review updates --------- (cherry picked from commit 46a34266dfd638abd5e8e3cc98fc2a5e4c5c2794) Signed-off-by: ariamarble Signed-off-by: github-actions[bot] Co-authored-by: github-actions[bot] --- _api-reference/document-apis/reindex.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/_api-reference/document-apis/reindex.md b/_api-reference/document-apis/reindex.md index 93aef5dac5..dd49eaf32f 100644 --- a/_api-reference/document-apis/reindex.md +++ b/_api-reference/document-apis/reindex.md @@ -1,15 +1,15 @@ --- layout: default -title: Reindex +title: Reindex document parent: Document APIs nav_order: 60 --- -# Index document +# Reindex document Introduced 1.0 {: .label .label-purple} -The reindex API operation lets you copy all or a subset of your data from a source index into a destination index. +The reindex document API operation lets you copy all or a subset of your data from a source index into a destination index. ## Example @@ -66,7 +66,7 @@ password | Password to authenticate with the remote cluster. socket_timeout | The wait time for socket reads. Default is 30s. connect_timeout | The wait time for remote connection timeouts. Default is 30s. size | The number of documents to reindex. -slice | Whether to manually or automatically slice the reindex operation so it executes in parallel. +slice | Whether to manually or automatically slice the reindex operation so it executes in parallel. Setting this field to `auto` allows OpenSearch to control the number of slices to use, which is one slice per shard, up to a maximum of 20. If there are multiple sources, the number of slices used are based on the index or backing index with the smallest number of shards. _source | Whether to reindex source fields. Specify a list of fields to reindex or true to reindex all fields. Default is true. id | The ID to associate with manual slicing. max | Maximum number of slices.