Correct a code snippet in removal_of_types. (#45118)

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 #43100.
This commit is contained in:
Julie Tibshirani 2019-08-06 13:54:53 -07:00
parent a7a419bee8
commit 9318192578

View File

@ -352,7 +352,8 @@ POST _reindex
"type": "user"
},
"dest": {
"index": "users"
"index": "users",
"type": "_doc"
}
}
@ -363,7 +364,8 @@ POST _reindex
"type": "tweet"
},
"dest": {
"index": "tweets"
"index": "tweets",
"type": "_doc"
}
}
----