How to migrate from multiple timebased indizes
<name>-<yyyymmdd>
to a single <name>
index without losing data?
How to migrate from multiple timebased indizes
<name>-<yyyymmdd>
to a single <name>
index without losing data?
What about using an index alias instead? So you don't need to reindex anything...
There is an oversharding problem. Initial we design daily indizes. Now we want to switch to weekly indizes. So alias wont help
If you are forced to re-inject, I recommend you to use elasticsearch-dump
.
I see. Out of curiosity,
What is the output of:
GET /
GET /_cat/nodes?v
GET /_cat/health?v
GET /_cat/indices?v
If some outputs are too big, please share them on gist.github.com and link them here.
One short solution could be use the shrink API.
But yes, you can use the reindex API if you need.
For the future I'd recommend using Index lifecycle Management (ILM).
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 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.