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

this one

this one

and one

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

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -