@@ -484,6 +484,18 @@ Use in conjunction with `max_docs` to control what documents are reindexed.
484
484
Set to a list to reindex select fields.
485
485
Defaults to `true`.
486
486
487
+ `type`:::
488
+ (Optional, string)
489
+ deprecated:[6.0.0,Types are deprecated and in the process of being removed. See <<removal-of-types>>.]
490
+ <<mapping-type-field,Document type>> to reindex.
491
+ +
492
+ [WARNING]
493
+ ====
494
+ By default, all reindexed documents are assigned the `_doc` document type. To
495
+ preserve other document types during a reindex, specify the `type` in the `dest`
496
+ index.
497
+ ====
498
+
487
499
`dest`::
488
500
`index`:::
489
501
(Required, string) The name of the index you are copying _to_.
@@ -497,9 +509,22 @@ See <<index-version-types>> for more information.
497
509
(Optional, enum) Set to create to only index documents that do not already exist (put if absent).
498
510
Valid values: `index`, `create`. Defaults to `index`.
499
511
512
+ `type`:::
513
+ (Optional, string)
514
+ deprecated:[6.0.0,Types are deprecated and in the process of being removed. See <<removal-of-types>>.]
515
+ <<mapping-type-field,Document type>> for reindexed documents.
516
+ Defaults to `_doc`.
517
+ +
518
+ [WARNING]
519
+ ====
520
+ By default, all reindexed documents are assigned the `_doc` document type.
521
+ To preserve other document types, this parameter must be specified.
522
+ ====
523
+
500
524
`script`::
501
525
`source`:::
502
526
(Optional, string) The script to run to update the document source or metadata when reindexing.
527
+
503
528
`lang`:::
504
529
(Optional, enum) The script language: `painless`, `expression`, `mustache`, `java`.
505
530
For more information, see <<modules-scripting>>.
0 commit comments