You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2012/06/12 01:28:42 UTC

[jira] [Created] (LUCENE-4137) BaseCompositeReader should throw exception if docids overflow

Robert Muir created LUCENE-4137:
-----------------------------------

             Summary: 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

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


[jira] [Commented] (LUCENE-4137) BaseCompositeReader should throw exception if docids overflow

Posted by "Uwe Schindler (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENE-4137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13293185#comment-13293185 ] 

Uwe Schindler commented on LUCENE-4137:
---------------------------------------

Hi Robert,
thanks for opening this! I will take care.
                
> 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
>
>
> 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


[jira] [Updated] (LUCENE-4137) BaseCompositeReader should throw exception if docids overflow

Posted by "Uwe Schindler (JIRA)" <ji...@apache.org>.
     [ 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


[jira] [Updated] (LUCENE-4137) BaseCompositeReader should throw exception if docids overflow

Posted by "Robert Muir (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-4137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Muir updated LUCENE-4137:
--------------------------------

    Attachment: LUCENE-4137.patch

patch, with a test
                
> 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
>
>
> 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


[jira] [Resolved] (LUCENE-4137) BaseCompositeReader should throw exception if docids overflow

Posted by "Uwe Schindler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-4137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Uwe Schindler resolved LUCENE-4137.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 5.0
                   4.0

Committed trunk revision: 1350047
Committed 4.x revision: 1350048

Thanks Robert (for the nice discusssion about how to test so many documents without indexing them or using too much RAM - the basic idea just needed beer input...)
                
> 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
>             Fix For: 4.0, 5.0
>
>         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