From a0044df78a92242c6c2887f214383901e7d32643 Mon Sep 17 00:00:00 2001 From: Henning Andersen <33268011+henningandersen@users.noreply.github.com> Date: Sun, 15 Dec 2019 17:30:28 +0100 Subject: [PATCH] Reindex source types disregarded in 7.x (#49580) Clarify that types in source index are disregarded. --- docs/reference/docs/reindex.asciidoc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/reference/docs/reindex.asciidoc b/docs/reference/docs/reindex.asciidoc index af1b2080bd4..3f7020a17be 100644 --- a/docs/reference/docs/reindex.asciidoc +++ b/docs/reference/docs/reindex.asciidoc @@ -502,9 +502,24 @@ See <> 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 <>.] +<> 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 <> 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 <>.