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

Configure RAM buffer size used by IndexWriter with oak-run indexing

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.7.9, 1.8.0
    • Component/s: lucene, run
    • Labels:
      None

      Description

      Lucene IndexWriter uses 16M buffer by default. For reindexing of large repo via oak-run it should be possible to set this to higher value like 300MB.

      In one of the test which indexes 65M entries setting the buffer size to 300M reduced the reindexing time from 2 hrs to 1.1 hrs

        Attachments

        1. OAK-6718-v1.patch
          32 kB
          Chetan Mehrotra

          Issue Links

            Activity

              People

              • Assignee:
                chetanm Chetan Mehrotra
                Reporter:
                chetanm Chetan Mehrotra
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: