Hey
Is there a way to rename (or copy) an index from the APIs ? -- not an
alias.
Thanks
Tarek
--
Hey
Is there a way to rename (or copy) an index from the APIs ? -- not an
alias.
Thanks
Tarek
--
To my knowledge, there is no "rename" or "copy" API.
For copy, you can search for scroll and scan API to iterate over all docs
and index them in a new index.
Benoît
On Monday, October 29, 2012 12:12:53 PM UTC+1, Tarek Ziadé wrote:
Hey
Is there a way to rename (or copy) an index from the APIs ? -- not an
alias.Thanks
Tarek
--
A better option would be to maintain aliases -
Thanks
Vineeth
On Mon, Oct 29, 2012 at 9:18 PM, Benoît benoit.intrw@gmail.com wrote:
To my knowledge, there is no "rename" or "copy" API.
For copy, you can search for scroll and scan API to iterate over all docs
and index them in a new index.Benoît
On Monday, October 29, 2012 12:12:53 PM UTC+1, Tarek Ziadé wrote:
Hey
Is there a way to rename (or copy) an index from the APIs ? -- not an
alias.Thanks
Tarek--
--
On Monday, October 29, 2012 4:48:47 PM UTC+1, Benoît wrote:
To my knowledge, there is no "rename" or "copy" API.
For copy, you can search for scroll and scan API to iterate over all docs
and index them in a new index.
Yeah I will try that. It sounds suboptimal though, maybe I should post a
feature request.
Thanks
--
On Tuesday, October 30, 2012 3:56:23 AM UTC+1, Vineeth Mohan wrote:
A better option would be to maintain aliases -
Elasticsearch Platform — Find real-time answers at scale | ElasticThanks
Vineeth
That's what we do now - but I have an existing instance with some indexes I
wanted to copy over.
On Mon, Oct 29, 2012 at 9:18 PM, Benoît <benoit...@gmail.com <javascript:>
wrote:
To my knowledge, there is no "rename" or "copy" API.
For copy, you can search for scroll and scan API to iterate over all docs
and index them in a new index.Benoît
On Monday, October 29, 2012 12:12:53 PM UTC+1, Tarek Ziadé wrote:
Hey
Is there a way to rename (or copy) an index from the APIs ? -- not an
alias.Thanks
Tarek--
--
On Tue, 2012-10-30 at 02:06 -0700, Tarek Ziadé wrote:
On Tuesday, October 30, 2012 3:56:23 AM UTC+1, Vineeth Mohan wrote:
A better option would be to maintain aliases -
Elasticsearch Platform — Find real-time answers at scale | ElasticThanks Vineeth
That's what we do now - but I have an existing instance with some
indexes I wanted to copy over.
Ah, you can import dangling indices into a cluster. The problem is when
they have the same name as existing indices.
I opened this issue about exactly that problem:
clint
--
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.