# Rename a Index

**URL:** <https://discuss.elastic.co/t/rename-a-index/13848>\
**Category:** Elasticsearch\
**Created:** [October 4, 2013, 6:58pm UTC](https://discuss.elastic.co/t/rename-a-index/13848 "2013-10-04T18:58:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![silvina](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/silvina/32/44096_2.png) [@silvina](https://discuss.elastic.co/u/silvina)\
**Post date:** [October 4, 2013, 6:58pm UTC](https://discuss.elastic.co/t/rename-a-index/13848/1 "2013-10-04T18:58:55Z")

</div>

Is it possible to rename a index?

--  
(\__/)  
(='.'=)  
(")_(")

--  
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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Anthony\_Campagna](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/anthony_campagna/32/2079_2.png) [@Anthony\_Campagna](https://discuss.elastic.co/u/Anthony_Campagna)\
**Post date:** [October 4, 2013, 8:24pm UTC](https://discuss.elastic.co/t/rename-a-index/13848/2 "2013-10-04T20:24:44Z")

</div>

I dont believe so. What I do is set indexes to an alias this way I can  
index-swap when I need to.

On Friday, October 4, 2013 2:58:55 PM UTC-4, anivlis wrote:

> Is it possible to rename a index?
> 
> --  
> (\__/)  
> (='.'=)  
> (")_(")

--  
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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Nick\_Zadrozny](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nick_zadrozny/32/1150_2.png) [@Nick\_Zadrozny](https://discuss.elastic.co/u/Nick_Zadrozny)\
**Post date:** [October 4, 2013, 8:27pm UTC](https://discuss.elastic.co/t/rename-a-index/13848/3 "2013-10-04T20:27:53Z")

</div>

There’s no official mechanism for renaming an index. However, if you’re  
really stuck, and Aliases are not an option, you can copy the index  
directory on disk. Elasticsearch will detect and import the "dangling"  
index with the new name. That said, it’s up to you to coordinate any  
ongoing updates between the old and new index name.

On Fri, Oct 4, 2013 at 11:58 AM, silvina [svlucero@gmail.com](mailto:svlucero@gmail.com) wrote:

> Is it possible to rename a index?
> 
> --  
> (\__/)  
> (='.'=)  
> (")_(")
> 
> --  
> 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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
Nick Zadrozny

Cofounder, CEO  
One More Cloud

[websolr.com](http://websolr.com) • [bonsai.io](http://bonsai.io)

--  
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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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, 2:13am UTC](https://discuss.elastic.co/t/rename-a-index/13848/4 "2017-07-06T02:13:40Z")

</div>


