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

Vikas Saurabh edited comment on OAK-6453 at 8/18/17 3:49 PM:
-------------------------------------------------------------

Since the last discussion \[0] to house such scripts in oak svn didn't move 
much, it is parked in [~chetanm]'s github repo \[1].

About this issue, I'm not sure how do we resolve this! Resolved\->Implemented 
in 1.7.6? But, that's misleading afaics.

\[0]: http://markmail.org/thread/ixvpytyioiiy737x
\[1]: 
https://github.com/chetanmeh/oak-console-scripts/tree/chetanmeg/src/main/groovy/felixconsole/indexImport


was (Author: catholicon):
Since the last discussion \[0] to house such scripts in oak svn didn't move 
much, I've raised a pull request \[1] (from \[2]) for [~chetanm] to include the 
script in his collection.

About this issue, I'm not sure how do we resolve this! Resolved\->Implemented 
in 1.7.6? But, that's misleading afaics.

\[0]: http://markmail.org/thread/ixvpytyioiiy737x
\[1]: https://github.com/chetanmeh/oak-console-scripts/pull/1
\[2]: 
https://github.com/catholicon/oak-console-scripts/tree/OAK-6453/src/main/groovy/felixconsole/indexImport

> Script to import oak-run generated indexing to older Oak setup
> --------------------------------------------------------------
>
>                 Key: OAK-6453
>                 URL: https://issues.apache.org/jira/browse/OAK-6453
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: indexing, run
>            Reporter: Chetan Mehrotra
>            Assignee: Vikas Saurabh
>              Labels: docs-impacting
>             Fix For: 1.8
>
>         Attachments: IndexImportScript.groovy
>
>
> 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
> # Perform [out-of-band 
> indexing|https://jackrabbit.apache.org/oak/docs/query/oak-run-indexing.html#out-of-band-indexing].
>  This can be done via oak-run from 1.7.x against any older version of Oak
> # 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 
> # backport all the work in OAK-6271 to older branch 
> # 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



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

Reply via email to