I want to migrate some documents using remote reindex API from ES 1.x to ES5.1.2 and I have a weird problem:
Error: mapper [field1] of different type, current_type [keyword], merged_type [long]
Error: mapper [field2] cannot be changed from type [float] to [long]
The mappings in ES5 cluster are: {"field1":{"type":"keyword"},"field2":{"type":"float"}} and the document that I want to reindex is {"field1":1,"field2":2}
Creating a document with exactly the same content using POST API works, but reindex fails.
I don't have any coerce settings at index level or field level.
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.