Re: Solr: JoinAtHead seems problematic

2020-08-09 Thread Đạt Cao Mạnh
Sure! Vào Th 6, 7 thg 8, 2020 lúc 07:33 Erick Erickson đã viết: > Well, let me know if you have to dive into that and we can wrestle it to > the ground. I suppose the short answer is “that code is correct if I > remember correctly”…. > > > On Aug 6, 2020, at 8:22 PM, Đạt Cao Mạnh > wrote: > >

Re: Solr: JoinAtHead seems problematic

2020-08-06 Thread Erick Erickson
Well, let me know if you have to dive into that and we can wrestle it to the ground. I suppose the short answer is “that code is correct if I remember correctly”…. > On Aug 6, 2020, at 8:22 PM, Đạt Cao Mạnh wrote: > > Thank Erick, > > I'm not fully understand it, but it kinda makes sense

Re: Solr: JoinAtHead seems problematic

2020-08-06 Thread Đạt Cao Mạnh
Thank Erick, I'm not fully understand it, but it kinda makes sense somehow. Thank you! On Thu, Aug 6, 2020 at 6:40 PM Erick Erickson wrote: > Dat: > > That’s a confusingly-named variable, surely needs a comment. Remembering > from a long time ago trying to work with PreferredLeader, the

Re: Solr: JoinAtHead seems problematic

2020-08-06 Thread Erick Erickson
Dat: That’s a confusingly-named variable, surely needs a comment. Remembering from a long time ago trying to work with PreferredLeader, the problem is that you can’t _replace_ the head because that’s the one that actually is the leader. You have to spoof that by inserting a node that points to