You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Ignacio Vera (Jira)" <ji...@apache.org> on 2021/12/07 06:30:00 UTC

[jira] [Resolved] (LUCENE-10280) Store BKD blocks with continuous ids more efficiently

     [ https://issues.apache.org/jira/browse/LUCENE-10280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ignacio Vera resolved LUCENE-10280.
-----------------------------------
    Fix Version/s: 9.1
         Assignee: Ignacio Vera
       Resolution: Fixed

> 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
>            Assignee: Ignacio Vera
>            Priority: Minor
>             Fix For: 9.1
>
>          Time Spent: 1h 50m
>  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-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org