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

Enable copying of Lucene index to local file system for read queries

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0.8, 1.1.2
    • query
    • None

    Description

      Currently the Lucene index is stored in NodeStore and is accessed via OakDirectory which is an implementation of Lucene Directory. This would work fine for SegmentStore but does not work very well when BlobStore is used as with DocumentNodeStore

      For such scenarios it should be possible to copy the Lucene index to local file system and then read queries are performed using that. IndexWriter would continue to use the OakDirectory to store the updated index content in NodeStore.

      As Lucene does not modify any index file once created (ther are either deleted or new one created), it should be possible to incrementally update the index by copying newly created segment files.

      Attachments

        1. OAK-1724-copyonread-directory-2.patch
          30 kB
          Chetan Mehrotra
        2. OAK-1724-copyonread-directory.patch
          30 kB
          Chetan Mehrotra

        Issue Links

          Activity

            People

              chetanm Chetan Mehrotra
              chetanm Chetan Mehrotra
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: