Description
When extracting index info from a repository stored in MongoDB the following exception is thrown
C:\Users\Jorge Eduardo\Desktop>java -jar oak-run-1.12.0.jar console mongodb://localhost:37017/rRepo4
Apache Jackrabbit Oak 1.12.0
Repository connected in read-only mode. Use '--read-write' for write operations
Jackrabbit Oak Shell (Apache Jackrabbit Oak 1.12.0, JVM: 1.8.0_191)
Type ':help' or ':h' for help.
-----------------------------------------------------------------------------------------------------------------------
/> lc dump "C:\Users\Jorge Eduardo\Desktop\lc" /oak:index/LuceneFullText
ERROR groovy.lang.GroovyRuntimeException:
Could not find matching constructor for: org.apache.jackrabbit.oak.plugins.index.lucene.directory.OakDirectory(org.apache.jackrabbit.oak.spi.state.ReadOnlyBuilder, org.apache.jackrabbit.oak.plugins.index.search.IndexDefinition, java.lang.Boolean)
at org.apache.jackrabbit.oak.console.commands.LuceneCommand.getDirectory (LuceneCommand.groovy:132)
at org.apache.jackrabbit.oak.console.commands.LuceneCommand$_closure2.doCall (LuceneCommand.groovy:77)
at java_lang_Runnable$run.call (Unknown Source)
at org.apache.jackrabbit.oak.console.GroovyConsole$OakSh.run (GroovyConsole.groovy:265)
at org.apache.jackrabbit.oak.console.GroovyConsole.run (GroovyConsole.groovy:74)
at org.apache.jackrabbit.oak.console.Console.main (Console.java:74)
at org.apache.jackrabbit.oak.run.ConsoleCommand.execute (ConsoleCommand.java:27)
at org.apache.jackrabbit.oak.run.Main.main (Main.java:49)
The same exception is thrown if I try to dump the index.
Attachments
Issue Links
- is broken by
-
OAK-7411 Make oak-lucene extend from oak-search
- Closed