Correct a code snippet in removal_of_types.
Previously, the reindex examples did not include `_doc` as the destination type.
This would result in the reindex failing with the error "Rejecting mapping
update to [users] as the final mapping would have more than 1 type: [_doc,
user]".
Relates to
@@ -351,7 +351,8 @@ POST _reindex
"type": "user"
},
"dest": {
- "index": "users"
+ "index": "users",
+ "type": "_doc"
}
}
@@ -362,7 +363,8 @@ POST _reindex
"type": "tweet"
},
"dest": {
- "index": "tweets"
+ "index": "tweets",
+ "type": "_doc"
}
}
----
