Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-6148

Warning if there are many Lucene documents

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • 1.10.0
    • lucene, query
    • None

    Description

      Lucene indexes are limited to Integer.MAX_VALUE (LUCENE-4104), so Lucene indexes can have at most around 2 billion nodes indexed.

      We should avoid running into this limit. For example, we could log a warning if the number of documents is a multiple of 200 million, so a user has plenty of time to change the index configuration.

      Also, it would be good to be able to read the current number of documents per index (using JMX for example), so that one can find out how far he is from the limit.

      Attachments

        Activity

          People

            Unassigned Unassigned
            thomasm Thomas Mueller
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: