[jira] [Commented] (LUCENE-8309) Don't use mutable FixedBitSets as live docs Bits

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (LUCENE-8309) Don't use mutable FixedBitSets as live docs Bits

JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/LUCENE-8309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16477640#comment-16477640 ]

ASF subversion and git services commented on LUCENE-8309:
---------------------------------------------------------

Commit 35a815b95539b4058c82bc754562349c2b6b4541 in lucene-solr's branch refs/heads/master from [~jpountz]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=35a815b ]

LUCENE-8309: Live docs are no longer backed by mutable bits.


> Don't use mutable FixedBitSets as live docs Bits
> ------------------------------------------------
>
>                 Key: LUCENE-8309
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8309
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Adrien Grand
>            Priority: Minor
>         Attachments: LUCENE-8309.patch
>
>
> Simon mentioned this idea first: it would be nice to not expose mutable fixedbitsets as live docs, which makes it easy for consumers of live docs to resurrect some documents by casting to a FixedBitSet and potentially corrupt the index.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]