[ 
https://issues.apache.org/jira/browse/OAK-6271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16089338#comment-16089338
 ] 

Chetan Mehrotra commented on OAK-6271:
--------------------------------------

Import support is now complete. Following aspects are supported

h3. Importing via oak-run

If the indexing is done in read only mode then the generated indexes can be 
imported via oak-run using following command

{noformat}
java -jar oak-run*.jar index --index-import --read-write 
--index-import-dir=<index dir> /path/to/segmentstore
{noformat}

Here "index dir" is the directory containing index files as generated by 
oak-run index command

h3. Importing via MBean

The indexes can also be imported via {{IndexerMBean#importIndex}} operation

h3. Points to note

* Currently the MBean is only present in trunk
* The oak-run import should only be used against an Oak setup with matching 
version i.e. Oak version application and oak-run should be same in terms on 
major and minor version. So currently it can only be used for application using 
Oak 1.7.x
* For older version plan is to implement a groovy script which can then be used 
to import it on that setup




> Support for importing index files
> ---------------------------------
>
>                 Key: OAK-6271
>                 URL: https://issues.apache.org/jira/browse/OAK-6271
>             Project: Jackrabbit Oak
>          Issue Type: Technical task
>          Components: core, lucene, run
>            Reporter: Chetan Mehrotra
>            Assignee: Chetan Mehrotra
>             Fix For: 1.8, 1.7.4
>
>
> This task is meant to implement support for importing the index files which 
> have been created via out of band indexing in OAK-6246. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to