From 524247bbc04eea743483a9c2ee8340aa6b2d21c3 Mon Sep 17 00:00:00 2001 From: Dan Hermann Date: Mon, 17 Aug 2020 07:33:49 -0500 Subject: [PATCH] [DOCS] write_index_only option for put mapping (#59610) (#61172) --- docs/reference/indices/put-mapping.asciidoc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/reference/indices/put-mapping.asciidoc b/docs/reference/indices/put-mapping.asciidoc index 6fe8f076173..0d6ec8ee7fe 100644 --- a/docs/reference/indices/put-mapping.asciidoc +++ b/docs/reference/indices/put-mapping.asciidoc @@ -65,6 +65,12 @@ include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=index-ignore-unavailab include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=timeoutparms] +`write_index_only`:: +(Optional, boolean) +If `true`, +the mappings are applied only to the current write index for the target. +Defaults to `false`. + [[put-mapping-api-request-body]] ==== {api-request-body-title} @@ -294,7 +300,7 @@ you can't change the mapping or field type of an existing field. Changing an existing field could invalidate data that's already indexed. If you need to change the mapping of a field in a data stream's backing indices, -see <>. +see <>. If you need to change the mapping of a field in other indices, create a new index with the correct mapping