Changing mapping type

Hi,

I need to change list type in my document mapping and set it to be nested.
What is the best way to do this ? The only idea on my mind is to create
another index with new mapping and copy the data from current index to the
new one. But I have about 400GB of data in this index and it seems not to
be a good idea :slight_smile: Thanks for help.

Best regards.
Marcin Dojwa

--

You idea is good one. There is really no other way to make significant
mapping changes in elasticsearch at the moment.

On Monday, November 19, 2012 9:40:06 AM UTC-5, Marcin Dojwa wrote:

Hi,

I need to change list type in my document mapping and set it to be nested.
What is the best way to do this ? The only idea on my mind is to create
another index with new mapping and copy the data from current index to the
new one. But I have about 400GB of data in this index and it seems not to
be a good idea :slight_smile: Thanks for help.

Best regards.
Marcin Dojwa

--

Thank you.

2012/11/20 Igor Motov imotov@gmail.com

You idea is good one. There is really no other way to make significant
mapping changes in elasticsearch at the moment.

On Monday, November 19, 2012 9:40:06 AM UTC-5, Marcin Dojwa wrote:

Hi,

I need to change list type in my document mapping and set it to be
nested. What is the best way to do this ? The only idea on my mind is to
create another index with new mapping and copy the data from current index
to the new one. But I have about 400GB of data in this index and it seems
not to be a good idea :slight_smile: Thanks for help.

Best regards.
Marcin Dojwa

--

--