You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2017/08/31 17:59:00 UTC
[jira] [Updated] (LUCENE-7933) LongBistSet can't have Long size
[ https://issues.apache.org/jira/browse/LUCENE-7933?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael McCandless updated LUCENE-7933:
---------------------------------------
Attachment: LUCENE-7933.patch
Here's a simple patch.
> 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
> Attachments: LUCENE-7933.patch
>
>
> 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org