[ https://issues.apache.org/jira/browse/LUCENE-10603?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17557223#comment-17557223 ]
Lu Xugang commented on LUCENE-10603: ------------------------------------ Hi, [~gsmiller] when I start to work on the rest of modules, I found a new issue LUCENE-10623 which should be a priority to resolve. {quote}I'm happy to divide up some of the modules {quote} LUCENE-10623 will effect those modules using *SortingSortedDocValues* , if you have free time , your could do the change on the modules that are not affected, and I will later take care of the rest of modules after LUCENE-10623 merged. > Improve iteration of ords for SortedSetDocValues > ------------------------------------------------ > > Key: LUCENE-10603 > URL: https://issues.apache.org/jira/browse/LUCENE-10603 > Project: Lucene - Core > Issue Type: Improvement > Reporter: Lu Xugang > Assignee: Lu Xugang > Priority: Trivial > Time Spent: 2h > Remaining Estimate: 0h > > After SortedSetDocValues#docValueCount added since Lucene 9.2, should we > refactor the implementation of ords iterations using docValueCount instead of > NO_MORE_ORDS? > Similar how SortedNumericDocValues did > From > {code:java} > for (long ord = values.nextOrd();ord != SortedSetDocValues.NO_MORE_ORDS; ord > = values.nextOrd()) { > }{code} > to > {code:java} > for (int i = 0; i < values.docValueCount(); i++) { > long ord = values.nextOrd(); > }{code} -- This message was sent by Atlassian Jira (v8.20.7#820007) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org