lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Toke Eskildsen (JIRA)" <j...@apache.org>
Subject [jira] Updated: (LUCENE-2633) PackedInts does not support structures above 256MB
Date Fri, 03 Sep 2010 11:25:36 GMT

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

Toke Eskildsen updated LUCENE-2633:
-----------------------------------

    Attachment: LUCENE-2633.patch

Bug fixed for Packed32 and Packe64. Unit test added that triggers the bug in the non-patched
versions.

> PackedInts does not support structures above 256MB
> --------------------------------------------------
>
>                 Key: LUCENE-2633
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2633
>             Project: Lucene - Java
>          Issue Type: Bug
>    Affects Versions: 4.0
>         Environment: All
>            Reporter: Toke Eskildsen
>         Attachments: LUCENE-2633.patch
>
>
> The PackedInts Packed32 and Packed64 fails when the internal structure exceeds 256MB.
This is due to a missing cast that results in the bit position calculation being limited by
Integer.MAX_VALUE (256MB * 8 = 2GB).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


Mime
View raw message