Recreating all data by API in background?

I am switching from lucene which was primary fulltext provider for my project
and i cant find sollution for my issue:
I need to be able to recreate all (or some part of) elasticsearch data in
background while previous revision still will be online.
I was doing this in lucene which was filebacked trough symlinks which was
very effective.

Does anybody knows some formula how to do this in elasticsearch?
Thank you.

--
View this message in context: http://elasticsearch-users.115913.n3.nabble.com/recreating-all-data-by-API-in-background-tp3629222p3629222.html
Sent from the ElasticSearch Users mailing list archive at Nabble.com.

Index aliases is probably what you are looking for:

Create a new index with a unique name while the searchers use the old
index via an alias. When the new index is complete, point the alias to
the new index. You can then delete the old index if you want.

--
Ivan

On Tue, Jan 3, 2012 at 6:34 AM, palmic michal.palma@gmail.com wrote:

I am switching from lucene which was primary fulltext provider for my project
and i cant find sollution for my issue:
I need to be able to recreate all (or some part of) elasticsearch data in
background while previous revision still will be online.
I was doing this in lucene which was filebacked trough symlinks which was
very effective.

Does anybody knows some formula how to do this in elasticsearch?
Thank you.

--
View this message in context: http://elasticsearch-users.115913.n3.nabble.com/recreating-all-data-by-API-in-background-tp3629222p3629222.html
Sent from the Elasticsearch Users mailing list archive at Nabble.com.