Change mapping of existing index

I use elasticsearch 2.0.2 and i want to change the mapping of an index without losing documents

You need to reindex.

_reindex API work since elasticsearch 2.3 , any idea ??!

Upgrade first.

Or use an external tool which runs the scroll query then bulk the results to the new index.

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