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

Script to import oak-run generated indexing to older Oak setup

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • indexing, run

    Description

      The indexing tooling implemented in OAK-6081 can be used to perform reindex and import the indexes for any Oak 1.7+ setups. For older setups we would be using 2 phase approach

      1. Perform out-of-band indexing. This can be done via oak-run from 1.7.x against any older version of Oak
      2. Import index - For this step we cannot use oak-run from trunk for older branches as write operations would not be compatible with older version of Oak.

      For import then we have 2 options either

      1. backport all the work in OAK-6271 to older branch
      2. OR implement a script which can be used with oak-run or Felix Script Console to just import the lucene index with any other manual step

      Purpose of this task is to implement such a script

      Note - The proposed script is meant to be run from within running Oak server using Felix Script Console [1]. This is required as older version of oak-run do not support all types of BlobStores

      [1] http://felix.apache.org/documentation/subprojects/apache-felix-script-console-plugin.html

      Attachments

        1. IndexImportScript.groovy
          14 kB
          Vikas Saurabh

        Issue Links

          Activity

            People

              catholicon Vikas Saurabh
              chetanm Chetan Mehrotra
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: