From f84d1a9f9a1652b38152dd69b375c821e72af8bd Mon Sep 17 00:00:00 2001 From: James Rodewig <40268737+jrodewig@users.noreply.github.com> Date: Tue, 26 Oct 2021 10:21:28 -0400 Subject: [PATCH] [DOCS] `_id` is required for bulk API's `update` action (#79774) Fixes a doc bug introduced in #55414. # Conflicts: # docs/reference/docs/bulk.asciidoc --- docs/reference/docs/bulk.asciidoc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/reference/docs/bulk.asciidoc b/docs/reference/docs/bulk.asciidoc index 3b9360ee5b095..76cd8a14e2e36 100644 --- a/docs/reference/docs/bulk.asciidoc +++ b/docs/reference/docs/bulk.asciidoc @@ -238,8 +238,7 @@ Removes the specified document from the index. include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=bulk-index] `_id`:: -(Required, string) -The document ID. +(Required, string) The document ID. -- `index`:: @@ -262,11 +261,12 @@ The following line must contain the partial document and update options. -- include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=bulk-index] -include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=bulk-id] +`_id`:: +(Required, string) The document ID. -- `doc`:: -(Optional, object) +(Optional, object) The partial document to index. Required for `update` operations.