[
https://issues.apache.org/jira/browse/LUCENE-8302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16468709#comment-16468709
]
Adrien Grand commented on LUCENE-8302:
--------------------------------------
Here is a patch. It only does basic testing:
- newLiveDocs(int) returns a MutableBits instance that has all bits set
- newLiveDocs(Bits) performs a clone, ie. mutating the returned bits does not
mutate the bits that were passed to this method
- serializing then deserializing preserves set bits
> Add a base test case for live docs
> ----------------------------------
>
> Key: LUCENE-8302
> URL: https://issues.apache.org/jira/browse/LUCENE-8302
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Adrien Grand
> Priority: Minor
> Attachments: LUCENE-8302.patch
>
>
> We have test cases for all codec formats but live docs.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]