You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Thomas Mueller (JIRA)" <ji...@apache.org> on 2017/05/02 11:56:04 UTC

[jira] [Created] (OAK-6148) Warning if there are many Lucene documents

Thomas Mueller created OAK-6148:
-----------------------------------

             Summary: Warning if there are many Lucene documents
                 Key: OAK-6148
                 URL: https://issues.apache.org/jira/browse/OAK-6148
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: query
            Reporter: Thomas Mueller
             Fix For: 1.8


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.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)