[
https://issues.apache.org/jira/browse/OAK-1993?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chetan Mehrotra resolved OAK-1993.
----------------------------------
Resolution: Fixed
Command details
* Command - lucene. Short form lc
* lc info - Dumps the stats
* lc dump <dir to dump to>
Command in usage below
{noformat}
$ java -jar target/oak-run-1.1-SNAPSHOT.jar console /path/to/segmentstore/
Apache Jackrabbit Oak 1.1-SNAPSHOT
Jackrabbit Oak Shell (Apache Jackrabbit Oak 1.1-SNAPSHOT, JVM: 1.7.0_55)
Type ':help' or ':h' for help.
-------------------------------------------------------------------------------------------
/> lc info
Number of documents : 234477
Number of deleted documents : 68
Index size : 73.5 MB
/> lc dump /tmp/lucene
Copying Lucene indexes to [/tmp/lucene]
Copied 73.5 MB in 1.127 s
/> :h lc
usage: lucene [info <idx path>|dump <dest path> <idx path>]
Provide Lucene related operations. <idx path> is optional and defaults to
/oak:index/lucene
/>
{noformat}
Implemented with http://svn.apache.org/r1613352
> Add command to dump Lucene index in Oak Console
> -----------------------------------------------
>
> Key: OAK-1993
> URL: https://issues.apache.org/jira/browse/OAK-1993
> Project: Jackrabbit Oak
> Issue Type: New Feature
> Components: run
> Reporter: Chetan Mehrotra
> Assignee: Chetan Mehrotra
> Priority: Minor
> Labels: console
> Fix For: 1.1
>
>
> Add a command in Oak Run Console to dump lucene index and also provide stats
> related to Lucene index
--
This message was sent by Atlassian JIRA
(v6.2#6252)