You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucenenet.apache.org by GitBox <gi...@apache.org> on 2021/05/19 15:08:39 UTC

[GitHub] [lucenenet] jregnier commented on issue #477: Fetching a docvalue from the index

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:
users@infra.apache.org