That's somewhat complicated, involves many different classes and probably
not the best place to start learning about ES. Are you trying to resolve
some particular issue or just curious about how things work? To answer your
question, if you are interested in the actual process of moving index
pieces from one node to another you take a look at RecoveryTarget and
RecoverySource in the org.elasticsearch.indices.recovery package.
On Thursday, October 25, 2012 5:33:28 AM UTC-4, SuoNayi wrote:
I want to know which class is responsible for migrating index data from
one node to other node.
在 2012年10月25日星期四UTC+8下午3时06分52秒，Itamar Syn-Hershko写道：
On Thu, Oct 25, 2012 at 9:01 AM, SuoNayi suo...@gmail.com wrote:
With reading about the source code of elasticsearch,I (a beginner
with ES) cannot easily figure out the whole flow.
I cannot find out how index data of shard or replicat migrates from one
node to other node when relocation of shard or replica.
Thanks for any tips or pointers.