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

Yonik Seeley commented on LUCENE-7933:
--------------------------------------

This class is for supporting a contiguous (simple) bitset up to 64*2^31 bits in 
size.
It's not clear to me where you think the bug is, but perhaps you could provide 
a patch that would clear it up?

> LongBistSet can't have Long size
> --------------------------------
>
>                 Key: LUCENE-7933
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7933
>             Project: Lucene - Core
>          Issue Type: Bug
>    Affects Versions: 6.6
>            Reporter: Won Jonghoon
>            Priority: Trivial
>
> private final long[] bits; // Array of longs holding the bits 
> ===> bits.length is small for bit number having Long.MAX
> so you can not call "LongBitSet.set(Long.MAX-1)"



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to