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

Disable lazy index download by default

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.50.0
    • lucene, query
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: