Skip to content

Reindex source types disregarded in 7.x #49580

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Dec 15, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions docs/reference/docs/reindex.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -497,9 +497,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>>.
Expand Down