Skip to content

Commit 3a102f1

Browse files
authored
[DOCS] write_index_only option for put mapping (elastic#59610) (elastic#59696)
1 parent 80907f6 commit 3a102f1

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

docs/reference/indices/put-mapping.asciidoc

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,12 @@ include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=index-ignore-unavailab
6565

6666
include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=timeoutparms]
6767

68+
`write_index_only`::
69+
(Optional, boolean)
70+
If `true`,
71+
the mappings are applied only to the current write index for the target.
72+
Defaults to `false`.
73+
6874

6975
[[put-mapping-api-request-body]]
7076
==== {api-request-body-title}
@@ -406,7 +412,7 @@ you can't change the mapping or field type of an existing field.
406412
Changing an existing field could invalidate data that's already indexed.
407413

408414
If you need to change the mapping of a field in a data stream's backing indices,
409-
see <<data-streams-change-mappings-and-settings>>.
415+
see <<data-streams-change-mappings-and-settings>>.
410416

411417
If you need to change the mapping of a field in other indices,
412418
create a new index with the correct mapping

0 commit comments

Comments
 (0)