lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LUCENE-4137) BaseCompositeReader should throw exception if docids overflow
Date Wed, 13 Jun 2012 22:47:42 GMT

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

Uwe Schindler updated LUCENE-4137:
----------------------------------

    Attachment: LUCENE-4137.patch

Simplified patch (only checks for overflow). I will commit this now and backport.

We should maybe add some asserts in AtomicReader/CompositeReader that numDocs<=maxDoc.
                
> BaseCompositeReader should throw exception if docids overflow
> -------------------------------------------------------------
>
>                 Key: LUCENE-4137
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4137
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: core/index
>    Affects Versions: 4.0
>            Reporter: Robert Muir
>            Assignee: Uwe Schindler
>         Attachments: LUCENE-4137.patch, LUCENE-4137.patch
>
>
> Currently things just go negative and act wonky.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


Mime
View raw message