Hi,
is it possible create a new index an copying the index data from the
index folder in the filesystem of index a to index b?
Thanks.
Hi,
is it possible create a new index an copying the index data from the
index folder in the filesystem of index a to index b?
Thanks.
On Fri, 2011-06-10 at 02:54 -0700, maho wrote:
Hi,
is it possible create a new index an copying the index data from the
index folder in the filesystem of index a to index b?
It is, but you'd need to script it yourself.
See for instance:
http://blogs.perl.org/users/clinton_gormley/2011/04/elasticsearchpm-v036-now-with-extra-sugar.html
clint
Thanks for your answer.
Isn't it possible to copy the index in the filesystem because that
will be much faster.
On 10 Jun., 14:03, Clinton Gormley clin...@iannounce.co.uk wrote:
On Fri, 2011-06-10 at 02:54 -0700, maho wrote:
Hi,
is it possible create a new index an copying the index data from the
index folder in the filesystem of index a to index b?It is, but you'd need to script it yourself.
See for instance:
http://blogs.perl.org/users/clinton_gormley/2011/04/elasticsearchpm-v...
clint
On Fri, 2011-06-10 at 05:09 -0700, maho wrote:
Thanks for your answer.
Isn't it possible to copy the index in the filesystem because that
will be much faster.
I don't think so. You used to be able to do that. It required an update
to the mappings file with a text editor, but that file is no longer
text.
clint
Do I also update the mapping file if i want to use the exact same
mapping configuration in the new index?
Or is there stored something like the core name or path to index?
On 10 Jun., 14:12, Clinton Gormley clin...@iannounce.co.uk wrote:
On Fri, 2011-06-10 at 05:09 -0700, maho wrote:
Thanks for your answer.
Isn't it possible to copy the index in the filesystem because that
will be much faster.I don't think so. You used to be able to do that. It required an update
to the mappings file with a text editor, but that file is no longer
text.clint
On Fri, 2011-06-10 at 05:21 -0700, maho wrote:
Do I also update the mapping file if i want to use the exact same
mapping configuration in the new index?Or is there stored something like the core name or path to index?
Perhaps I haven't understood what you are trying to achieve. Are you
trying to create a new index as a copy of the old index so that you have
old_index and new_index, or are you trying to move your data from one
location in the file system to another?
If the latter, then you can just move the data directory and point to
the new location:
If the former, then you're going to have to use the API to copy the
index
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.