Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-4104

Clearly document the limit for maximum number of documents in a single index

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.6
    • None
    • core/index
    • None
    • New

    Description

      Although the "int" in a number of APIs strongly suggests the approximate limit to the number of documents than can exist in a single Lucene index, it would be useful to have the specific number more clearly documented.

      My reading suggests that the limit is 2^31-2 so that the count of documents, 0 to 2^31-2, will fit in an int as Integer.MAX_VALUE or 2^31-1 or 2,147,483,647.

      Symbolic definitions of the maximum document number and maximum number of documents, as well as the first document number should also be provided.

      A subsequent issue will be to detect and throw an exception when that limit is exceeded.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jkrupan Jack Krupansky
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: