[ https://issues.apache.org/jira/browse/LUCENE-10280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17454399#comment-17454399 ]
ASF subversion and git services commented on LUCENE-10280: ---------------------------------------------------------- Commit 8525356c8ac037923138acc89249c08d4d507d05 in lucene's branch refs/heads/main from gf2121 [ https://gitbox.apache.org/repos/asf?p=lucene.git;h=8525356 ] LUCENE-10280: Store BKD blocks with continuous ids more efficiently (#510) > Store BKD blocks with continuous ids more efficiently > ----------------------------------------------------- > > Key: LUCENE-10280 > URL: https://issues.apache.org/jira/browse/LUCENE-10280 > Project: Lucene - Core > Issue Type: Improvement > Components: core/codecs > Reporter: Feng Guo > Priority: Minor > Time Spent: 1h 40m > Remaining Estimate: 0h > > For scenes that index is sorted on the field, it could be a common situation > that blocks have continuous ids. Maywe can handle this situation more > efficiently (only write the first id of this block). And we can just check > {code:java} > stritylysorted && (docIds[start+count-1] - docids[start] + 1) == count{code} > to see if ids are continuous, the check should be very fast :) -- This message was sent by Atlassian Jira (v8.20.1#820001) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org