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

Multiplexing store support in Lucene Indexes

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5.8, 1.6.0
    • Component/s: lucene
    • Labels:
      None

      Description

      Similar to OAK-3403 we need support multiplexing store in Lucene indexes. This can be done by having multiple directories under given index definition.

      For e.g. currently the Lucene indexes for an index /oak:index/assetIndex are stored in node /oak:index/assetIndex/:dir. For supporting multiple indexes which get stored in different stores we can have structure like

      /oak:index/assetIndex
           + :oak:mount1-dir
           + :dir
      

      In above structure index content for paths which are part of mount1 would be store in Lucene files stores under :oak:mount1-dir while the rest go in default location {{:dir}

      1. Writing - At the time of indexing the LuceneIndexEditor should pick up correct writer i.e. one which is mapped to right directory node in repository
      2. Reading - For reading we would have one IndexSearcher per directory node and then query would be executed against both and a joined cursor would be made

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: