I have several old indices which I'd like to change mapping of. Now I need to transform old mapping into new ones. I've been reading on stackoverflow like
But I don't think they're the exact answer to my question.
Many of those use a different index name, so operation is easier that way, but due to the setup, we use a more crude way of curl-ing the data, which requires the exact index name.
Now my question is: what's a good way to reindex an old index (or several indices) to new one
ex.
my current address would be 'http://address-to-server:port/cluster-name/index-name'
I want to be able to reindex the old data so that when i curl -XGET 'http://address-to-server:port/cluster-name/index-name'
it'll give the the old data in new mapping (some additional fields, some modified)