Reindex source types disregarded in 7.x (#49580)

Clarify that types in source index are disregarded.
This commit is contained in:
Henning Andersen 2019-12-15 17:30:28 +01:00 committed by GitHub
parent df46848fb0
commit a0044df78a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 15 additions and 0 deletions

View File

@ -502,9 +502,24 @@ See <<index-version-types>> for more information.
(Optional, enum) Set to create to only index documents that do not already exist (put if absent).
Valid values: `index`, `create`. Defaults to `index`.
`type`:::
(Optional, string)
deprecated:[6.0.0,Types are deprecated and in the process of being removed. See <<removal-of-types>>.]
<<mapping-type-field,Document type>> for reindexed documents.
Defaults to `_doc`.
+
[WARNING]
====
Types in source indices are always ignored, also when not specifying a
destination `type`. If explicitly specifying destination `type`, the specified
type must match the type in the destination index or be either unspecified or
the special value `_doc`. See <<removal-of-types>> for further details.
====
`script`::
`source`:::
(Optional, string) The script to run to update the document source or metadata when reindexing.
`lang`:::
(Optional, enum) The script language: `painless`, `expression`, `mustache`, `java`.
For more information, see <<modules-scripting>>.