Jack Krupansky created LUCENE-4105:
--------------------------------------

             Summary: Detect and report when the limit for maximum number of 
documents in a single index is exceeded
                 Key: LUCENE-4105
                 URL: https://issues.apache.org/jira/browse/LUCENE-4105
             Project: Lucene - Java
          Issue Type: Improvement
          Components: core/index
    Affects Versions: 3.6
            Reporter: Jack Krupansky
            Priority: Minor


LUCENE-4104 documents the limit for maximum number of documents in a single 
index, but it is highly desirable to have Lucene detect when this limit is 
reached and throw a sensible exception for the user.

I am not sure of the implementation details, but it seems as if 
IndexWriter.addDocument, addDocuments, addIndexes, and updateDocuments would be 
the APIs from which a new exception, call is MaxDocumentException would be 
thrown.


--
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to