Skip to content

Commit a0044df

Browse files
Reindex source types disregarded in 7.x (#49580)
Clarify that types in source index are disregarded.
1 parent df46848 commit a0044df

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

docs/reference/docs/reindex.asciidoc

+15
Original file line numberDiff line numberDiff line change
@@ -502,9 +502,24 @@ See <<index-version-types>> for more information.
502502
(Optional, enum) Set to create to only index documents that do not already exist (put if absent).
503503
Valid values: `index`, `create`. Defaults to `index`.
504504

505+
`type`:::
506+
(Optional, string)
507+
deprecated:[6.0.0,Types are deprecated and in the process of being removed. See <<removal-of-types>>.]
508+
<<mapping-type-field,Document type>> for reindexed documents.
509+
Defaults to `_doc`.
510+
+
511+
[WARNING]
512+
====
513+
Types in source indices are always ignored, also when not specifying a
514+
destination `type`. If explicitly specifying destination `type`, the specified
515+
type must match the type in the destination index or be either unspecified or
516+
the special value `_doc`. See <<removal-of-types>> for further details.
517+
====
518+
505519
`script`::
506520
`source`:::
507521
(Optional, string) The script to run to update the document source or metadata when reindexing.
522+
508523
`lang`:::
509524
(Optional, enum) The script language: `painless`, `expression`, `mustache`, `java`.
510525
For more information, see <<modules-scripting>>.

0 commit comments

Comments
 (0)