How to merge indices?

Hi everybody,

I'm using ES 0.19.0 and I would like to know if there's an option to merge
two or more indices. And if there's no option, what is the
common/easiest/fastest way to to this? I guess I need to move all documents
from the first index to the second, which basically means re-indexing all
documents of the first index into the second? Or are there any more
resource-friendly options?

Any help would be much appreciated!

Thanks,
Stefan

--

There isn't a built in mechanism to do that, and yes, reindexing from one index to the other is the faster way…

On Aug 13, 2012, at 11:05 AM, Stefan Pi stefan.pietschmann@social-meme.com wrote:

Hi everybody,

I'm using ES 0.19.0 and I would like to know if there's an option to merge two or more indices. And if there's no option, what is the common/easiest/fastest way to to this? I guess I need to move all documents from the first index to the second, which basically means re-indexing all documents of the first index into the second? Or are there any more resource-friendly options?

Any help would be much appreciated!

Thanks,
Stefan

--

--

Thank you, kimchy!

Am Montag, 13. August 2012 12:24:12 UTC+2 schrieb kimchy:

There isn't a built in mechanism to do that, and yes, reindexing from one
index to the other is the faster way…

--