If you still have your data source, use it as you used it the first time you created your index.
If not, if you did not disable _source, you could read all your data from the old cluster using scan&scroll with a matchAll query and push them into new cluster using Bulk.
Have a look at GitHub - elastic/stream2es: Stream data into ES (Wikipedia, Twitter, stdin, or other ESes)
% stream2es es --source http://foo.local:9200/wiki --target http://bar.local:9200/wiki2
It could help here.
--
David
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
Le 7 mars 2014 à 05:52, Michael Huang opensource5168@gmail.com a écrit :
Thanks David.
I am new to this. How do you reindex? Is there a API that i can call to index all indexes?
Thanks in advance.
Michael
On Tuesday, March 4, 2014 11:46:49 PM UTC-8, David Pilato wrote:
I think you have to reindex.
--
David
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
Le 5 mars 2014 à 07:36, Michael Huang opensou...@gmail.com a écrit :
I have elasticsearch 1.0beta1. I want to upgrade to elasticsearch 1.0.1. What is the steps to upgrade it. is it simply shutdown beta1 version and startup with 1.0.1 version with the same config?
Thanks,
Michael
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 elasticsearc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/6c0d9e81-4e43-42b1-97fc-1b08f9daa55f%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/3d41fb25-5ec0-4e9f-8297-1f4e072d62ed%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/4A950880-9624-453B-A4E9-BF5D6213B937%40pilato.fr.
For more options, visit https://groups.google.com/d/optout.