jregnier commented on issue #477:
URL: https://github.com/apache/lucenenet/issues/477#issuecomment-844197623


   Looking at the code that is how I had it before, I would enumerate the 
leaves and try and get the doc value. I was seeing issues where after editing 
the index it wasn't getting the correct values since it was trying to get it 
from the wrong leaf which resulted in always needing to do a ForceMerge 
(donotwant) lol.
   I was able to get the collector working and seems to work beautifully and 
always working with the correct AtomicReader.
   
   As a note, there's no documentation clearly stating that a custom ICollector 
is the way to properly achieve this.
   
   Thanks for looking into this for me :)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to