[DOCS] write_index_only option for put mapping (#59610) (#61172)

This commit is contained in:
Dan Hermann 2020-08-17 07:33:49 -05:00 committed by GitHub
parent ba89af544f
commit 524247bbc0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 1 deletions

View File

@ -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 <<data-streams-change-mappings-and-settings>>.
see <<data-streams-change-mappings-and-settings>>.
If you need to change the mapping of a field in other indices,
create a new index with the correct mapping