You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-commits@jackrabbit.apache.org by ch...@apache.org on 2017/03/28 05:57:39 UTC

svn commit: r1789048 - /jackrabbit/oak/branches/1.4/oak-run/src/main/groovy/org/apache/jackrabbit/oak/console/commands/LuceneCommand.groovy

Author: chetanm
Date: Tue Mar 28 05:57:39 2017
New Revision: 1789048

URL: http://svn.apache.org/viewvc?rev=1789048&view=rev
Log:
OAK-5992 - Lucene command does not work in 1.4 branch

Modified:
    jackrabbit/oak/branches/1.4/oak-run/src/main/groovy/org/apache/jackrabbit/oak/console/commands/LuceneCommand.groovy

Modified: jackrabbit/oak/branches/1.4/oak-run/src/main/groovy/org/apache/jackrabbit/oak/console/commands/LuceneCommand.groovy
URL: http://svn.apache.org/viewvc/jackrabbit/oak/branches/1.4/oak-run/src/main/groovy/org/apache/jackrabbit/oak/console/commands/LuceneCommand.groovy?rev=1789048&r1=1789047&r2=1789048&view=diff
==============================================================================
--- jackrabbit/oak/branches/1.4/oak-run/src/main/groovy/org/apache/jackrabbit/oak/console/commands/LuceneCommand.groovy (original)
+++ jackrabbit/oak/branches/1.4/oak-run/src/main/groovy/org/apache/jackrabbit/oak/console/commands/LuceneCommand.groovy Tue Mar 28 05:57:39 2017
@@ -125,7 +125,7 @@ class LuceneCommand extends ComplexComma
             //OakDirectory is package scope but Groovy allows us
             //to use it. Good or bad but its helpful debug scripts
             //can access inner classes and prod code cannot. Win win :)
-            return new OakDirectory(new ReadOnlyBuilder(definition), new IndexDefinition(session.root, definition, path), true);
+            return new OakDirectory(new ReadOnlyBuilder(definition), new IndexDefinition(session.root, definition), true);
         }
         return null
     }