Thomas Mueller created OAK-10102:
------------------------------------

             Summary: Disable lazy index download by default
                 Key: OAK-10102
                 URL: https://issues.apache.org/jira/browse/OAK-10102
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: lucene, query
            Reporter: Thomas Mueller
            Assignee: Thomas Mueller


I found that with the default settings (the system property 
"oak.lucene.nonLazyIndex" not set), and a decent number of Lucene indexes, each 
query that might use a Lucene index takes around 30 ms. With the property set, 
each query takes only 2 ms or so.

The lazy index download was meant to speed up startup, because only indexes are 
downloaded that are actually needed. But on my side, I have disabled the 
setting since then.

I think it makes sense to set change the default value, like it was before. So 
enable the system property  "oak.lucene.nonLazyIndex" by default.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to