1.0 KiB
1.0 KiB
ReindexDestination [interface-ReindexDestination]
| Name | Type | Description |
|---|---|---|
index |
IndexName | The name of the data stream, index, or index alias you are copying to. |
op_type |
OpType | If it is create, the operation will only index documents that do not already exist (also known as "put if absent"). IMPORTANT: To reindex to a data stream destination, this argument must be create. |
pipeline |
string | The name of the pipeline to use. |
routing |
Routing | By default, a document's routing is preserved unless it's changed by the script. If it is keep, the routing on the bulk request sent for each match is set to the routing on the match. If it is discard, the routing on the bulk request sent for each match is set to null. If it is =value, the routing on the bulk request sent for each match is set to all value specified after the equals sign ( =). |
version_type |
VersionType | The versioning to use for the indexing operation. |