Reindex from Remote and forgetting ES 2.1 type


I have an ES2.1 index with a type and I want to migrate to ES6.x (without a type but the _doc).
How can I proceeed as I want to get rid of the ES2.1 type ?

At the moment, I am doing:

POST _reindex { "source"; { "remote": "...", "index": "myES2Index"}, "dest": "myES6Index"}}

In order to make it work I had, in the mapping of the ES6 index, reference the ES2.1 type, rather than the "_doc"...

Many thanks for your help

I think this post will answer your questions.

Thank you so much. It works.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.