Skip to content

Commit 1eaf88e

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

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
@@ -497,9 +497,24 @@ See <<index-version-types>> for more information.
497497
(Optional, enum) Set to create to only index documents that do not already exist (put if absent).
498498
Valid values: `index`, `create`. Defaults to `index`.
499499

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

0 commit comments

Comments
 (0)