Please see attached patch for the error and suggested fix for the following exception:
Pawel, Thanks for catching this! I am in the middle of investigating it.
Excellent! Thank you very much for such a quick reaction!
I just fixed it as your patch suggested. Yes, you are absolutely right. Thanks for catching this bug. Fortunately, the ImmutableIntArrayDocIdSet class is not being used by PForDelta. Therefore, it should not affect important things!
This has been fixed as Pawel suggested in his patch! In particular, in immutableIntArryDocIDSet's advance(target) function, replace:
if (index > 0)
if (index >= 0)
Thank you very much for applying the fix immediately and thank you for this excellent piece of software you have developed! Thanks!