[ https://issues.apache.org/jira/browse/LUCENE-3024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael McCandless updated LUCENE-3024: --------------------------------------- Attachment: LUCENE-3024.patch Patch. This differs a bit from the patch I posted to the dev list -- there was also an assert that was illegally casting to int. > If index has more than Integer.MAX_VALUE terms, seeking can it AIOOBE due to > long/int overflow > ---------------------------------------------------------------------------------------------- > > Key: LUCENE-3024 > URL: https://issues.apache.org/jira/browse/LUCENE-3024 > Project: Lucene - Java > Issue Type: Bug > Reporter: Michael McCandless > Assignee: Michael McCandless > Fix For: 3.1.1, 3.2, 4.0 > > Attachments: LUCENE-3024.patch > > > Tom hit a new long/int overflow case: > http://markmail.org/thread/toyl2ujcl4suqvf3 > This is a regression, in 3.1, introduced with LUCENE-2075. > Worse, our Test2BTerms failed to catch this, so I've fixed that test to show > the failure. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org