You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by GitBox <gi...@apache.org> on 2022/06/20 09:29:16 UTC

[GitHub] [lucene] jpountz commented on pull request #967: LUCENE-10623: Error implementation of docValueCount for SortingSortedSetDocValues

jpountz commented on PR #967:
URL: https://github.com/apache/lucene/pull/967#issuecomment-1160204024

   Thanks for catching this bug. The fix is a bit wasteful in that it requires iterating over ords twice, once to count them and another time to iterate through them. Maybe we should change `DocOrds` to also record the number of ords for each doc (e.g. using a `GrowableWriter`), and stop recording zeroes to signal that all ords for a document have been consumed?


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org