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

Warning if there are many Lucene documents

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: 1.10.0
    • Component/s: lucene, query
    • Labels:
      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

            • Assignee:
              Unassigned
              Reporter:
              thomasm Thomas Mueller

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment