# Recreating all data by API in background?

**URL:** <https://discuss.elastic.co/t/recreating-all-data-by-api-in-background/6282>\
**Category:** Elasticsearch\
**Created:** [January 4, 2012, 9:09am UTC](https://discuss.elastic.co/t/recreating-all-data-by-api-in-background/6282 "2012-01-04T09:09:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![palmic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/palmic/32/3013_2.png) [@palmic](https://discuss.elastic.co/u/palmic)\
**Post date:** [January 4, 2012, 9:09am UTC](https://discuss.elastic.co/t/recreating-all-data-by-api-in-background/6282/1 "2012-01-04T09:09:40Z")

</div>

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.  
In lucene which was filebacked i was solving this by symlinks and it  
was very effective.

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

---

<div class="post-metadata">

**Author:** ![Clinton\_Gormley](https://avatars.discourse-cdn.com/v4/letter/c/50afbb/32.png) [@Clinton\_Gormley](https://discuss.elastic.co/u/Clinton_Gormley)\
**Post date:** [January 4, 2012, 11:58am UTC](https://discuss.elastic.co/t/recreating-all-data-by-api-in-background/6282/2 "2012-01-04T11:58:15Z")

</div>

On Wed, 2012-01-04 at 01:09 -0800, michal.palma 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.  
> In lucene which was filebacked i was solving this by symlinks and it  
> was very effective.
> 
> Does anybody knows some formula how to do this in elasticsearch?  
> Thank you.

Have a look at index aliases

> **[Elasticsearch Platform — Find real-time answers at scale](https://www.elastic.co)**
>
> Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.

clint

---

<div class="post-metadata">

**Author:** ![palmic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/palmic/32/3013_2.png) [@palmic](https://discuss.elastic.co/u/palmic)\
**Post date:** [January 4, 2012, 4:25pm UTC](https://discuss.elastic.co/t/recreating-all-data-by-api-in-background/6282/3 "2012-01-04T16:25:38Z")

</div>

Just what i needed, thank you!

On Jan 4, 12:58 pm, Clinton Gormley [cl...@traveljury.com](mailto:cl...@traveljury.com) wrote:

> On Wed, 2012-01-04 at 01:09 -0800, michal.palma 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.  
> > In lucene which was filebacked i was solving this by symlinks and it  
> > was very effective.
> 
> > Does anybody knows some formula how to do this in elasticsearch?  
> > Thank you.
> 
> Have a look at index aliases
> 
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/api/admin-indices-aliase)...
> 
> clint

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 3:43am UTC](https://discuss.elastic.co/t/recreating-all-data-by-api-in-background/6282/4 "2017-07-06T03:43:48Z")

</div>


