reindex - Elasticsearch--reindexing to the same index name -
i have several old indices i'd change mapping of. need transform old mapping new ones. i've been reading on stackoverflow like
but don't think they're exact answer question.
many of use different index name, operation easier way, due setup, use more crude way of curl-ing data, requires exact index name.
now question is: what's way reindex old index (or several indices) new one
ex.
my current address 'http://address-to-server:port/cluster-name/index-name'
i want able reindex old data when curl -xget 'http://address-to-server:port/cluster-name/index-name'
it'll give the old data in new mapping (some additional fields, modified)
as previous answer can use reindexing plugins perform mapping change actions
https://github.com/codelibs/elasticsearch-reindexing
and make sure new mapping valid , adopt old data checking sample input data
Comments
Post a Comment