Import from another instance of ES


(Daniel Maher-2) #1

Hello,

We currently have two ES clusters which do not normally communicate with
one another (though they could). I would like to import the indexes
from cluster A into cluster B, without destroying the indexes that are
already present in cluster B. Furthermore, I do not want the indexes
from cluster B to exist in cluster A (i.e. uni-directional relationship).

What would be the safest way to do this? How about the fastest? Bonus
points if it's the same answer for both questions. :slight_smile:

Thank you!

--
Daniel Maher

What no spouse of a writer can ever understand is that a writer is
working when he's staring out the window.


(Gabriel Farrell) #2

Would a scan and bulk index be fast enough for you? I think that would
be the safest.

On Thu, Oct 13, 2011 at 10:53 AM, Daniel Maher dmaher@plizy.com wrote:

Hello,

We currently have two ES clusters which do not normally communicate with one
another (though they could). I would like to import the indexes from
cluster A into cluster B, without destroying the indexes that are already
present in cluster B. Furthermore, I do not want the indexes from cluster B
to exist in cluster A (i.e. uni-directional relationship).

What would be the safest way to do this? How about the fastest? Bonus
points if it's the same answer for both questions. :slight_smile:

Thank you!

--
Daniel Maher

What no spouse of a writer can ever understand is that a writer is working
when he's staring out the window.


(Daniel Maher-2) #3

On 10/13/2011 10:17 PM, Gabriel Farrell wrote:

Would a scan and bulk index be fast enough for you? I think that would
be the safest.

Thank you for your response; I was actually hoping for some sort of
hackery that would allow me to simply import the filesystem tree or
something, but the scan / bulk index approach seems to be the winner.

--
Daniel Maher

There's small choice in rotten apples.
-- William Shakespeare, "The Taming of the Shrew"


(Shay Banon) #4

Scan / bulk indexing is the way to go. At least for now.

On Fri, Oct 14, 2011 at 12:07 PM, Daniel Maher dmaher@plizy.com wrote:

On 10/13/2011 10:17 PM, Gabriel Farrell wrote:

Would a scan and bulk index be fast enough for you? I think that would
be the safest.

Thank you for your response; I was actually hoping for some sort of hackery
that would allow me to simply import the filesystem tree or something, but
the scan / bulk index approach seems to be the winner.

--
Daniel Maher

There's small choice in rotten apples.
-- William Shakespeare, "The Taming of the Shrew"


(system) #5