jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexparvule...@apache.org
Subject svn commit: r1394039 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/type/InitialContent.java
Date Thu, 04 Oct 2012 13:07:04 GMT
Author: alexparvulescu
Date: Thu Oct  4 13:07:04 2012
New Revision: 1394039

URL: http://svn.apache.org/viewvc?rev=1394039&view=rev
Log:
OAK-340 Basic reindex support in the lucene index
 - removed accidental commit of lucene index

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/type/InitialContent.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/type/InitialContent.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/type/InitialContent.java?rev=1394039&r1=1394038&r2=1394039&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/type/InitialContent.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/type/InitialContent.java
Thu Oct  4 13:07:04 2012
@@ -57,10 +57,6 @@ public class InitialContent extends Defa
             mk.commit("/", "+\"oak:index\":{\"jcr:uuid\":{\"unique\":true},\"rep:authorizableId\":{\"unique\":true},\"rep:principalName\":{\"unique\":true}}",
null, null);
         }
 
-        if (!root.hasChildNode("oak-index")) {
-            mk.commit("/", "+\"oak-index\":{ \"indexes\": { \"type\": \"lucene\" }}", null,
null);
-        }
-
         BuiltInNodeTypes.register(createRoot(mk));
     }
 



Mime
View raw message