Delete, rename , alias for types

Hi,

I want to add and modify few field types for a type. Is there any way to
create alias to exiting type in index or rename the type in the index. Can
any one provide me better way to do this.

Scenario:

i have two types in one index called contractindex
below are two types
contract
contract1

I want to delete contract and rename contract1 to contract.

thanks,
Srikanth.

--
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/935da94f-1747-4776-9c20-15114769d6b5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

I'm afraid you have to reindex or deal with it on a client level.

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 3 juin 2014 à 07:45, srikanth ramineni ri.srikanth@gmail.com a écrit :

Hi,

I want to add and modify few field types for a type. Is there any way to create alias to exiting type in index or rename the type in the index. Can any one provide me better way to do this.

Scenario:

i have two types in one index called contractindex
below are two types
contract
contract1

I want to delete contract and rename contract1 to contract.

thanks,
Srikanth.

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/935da94f-1747-4776-9c20-15114769d6b5%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/E07B9D04-BF8C-43B4-AFD2-0CF75B219F62%40pilato.fr.
For more options, visit https://groups.google.com/d/optout.