Rename a Index


(silvina) #1

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.
For more options, visit https://groups.google.com/groups/opt_out.


(Anthony Campagna) #2

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.
For more options, visit https://groups.google.com/groups/opt_out.


(Nick Zadrozny) #3

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 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.
For more options, visit https://groups.google.com/groups/opt_out.

--
Nick Zadrozny

Cofounder, CEO
One More Cloud

websolr.com • 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.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #4