My elasticsearch has index with _type: type1 and while using _reindex, I got following error:
"failures": [
{
"index": "test",
"type": "type1",
"id": "X",
"cause": {
"type": "illegal_argument_exception",
"reason": "Rejecting mapping update to [test] as the final mapping would have more than 1 type: [type1, doc]"
},
"status": 400
},
Can Reindex API be used to change _type? painless script or logstash?
maybe someone can provide examples?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.