Why not just use an alias, then you don't have to worry about conflicting names. Otherwise I have been having luck using LS 1.5 to reindex - https://gist.github.com/markwalkom/8a7201e3f6ea4354ae06
PS - We're moving to https://discuss.elastic.co/, please join us there for any future discussions! On 29 May 2015 at 03:09, Sagar Shah <sagarshah1...@gmail.com> wrote: > Hello everyone, > I am using elastic search 1.4.2 and trying to work out a way on back up > and restore operation of an index. > > Objective: > An index is already present on a system with some mapping. During system > upgrade, mapping needs to be updated, which is not possible easily in > elastic search without reindexing. > > So here's one path that I have chosen. > - Take backup of existing index on file system > - Delete existing index > - Create an index with same name but with new mapping > - Restore the (backed up) index. - Issue: When restoring index here, it > also overwrites mapping to previous state, the way it was defined on > original index. Is there a way to restore only the data and not > settings/mapping. Or is there a way to restore index explicitly with new > mappings? > > Other option that I see is to create restore into a new index and then > perform bulk indexing on original index name. But that seems too much to me > just to perform data backup and restore. > > Index is expected to have about 80 millions of records > > Is there a way to ease this process? > > Appreciate your inputs & suggestions > > > Regards, > Sagar Shah > > -- > Please update your bookmarks! We have moved to https://discuss.elastic.co/ > --- > You received this message because you are subscribed to the Google Groups > "elasticsearch" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to elasticsearch+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/77d67425-4ed8-403a-b9ff-9410fc02e1f8%40googlegroups.com > <https://groups.google.com/d/msgid/elasticsearch/77d67425-4ed8-403a-b9ff-9410fc02e1f8%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Please update your bookmarks! We have moved to https://discuss.elastic.co/ --- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAEYi1X-od439iz3tgNrSq0HP61%3DZEvDKTnoTkXhvTsFJ5BmZXg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.