jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r1450195 - /jackrabbit/oak/trunk/oak-run/src/main/java/org/apache/jackrabbit/oak/benchmark/wikipedia/WikipediaImport.java
Date Tue, 26 Feb 2013 14:52:20 GMT
Author: jukka
Date: Tue Feb 26 14:52:20 2013
New Revision: 1450195

URL: http://svn.apache.org/r1450195
Log:
OAK-641: Improved benchmark tooling

Use an unordered node type for the wikipedia import

Modified:
    jackrabbit/oak/trunk/oak-run/src/main/java/org/apache/jackrabbit/oak/benchmark/wikipedia/WikipediaImport.java

Modified: jackrabbit/oak/trunk/oak-run/src/main/java/org/apache/jackrabbit/oak/benchmark/wikipedia/WikipediaImport.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-run/src/main/java/org/apache/jackrabbit/oak/benchmark/wikipedia/WikipediaImport.java?rev=1450195&r1=1450194&r2=1450195&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-run/src/main/java/org/apache/jackrabbit/oak/benchmark/wikipedia/WikipediaImport.java
(original)
+++ jackrabbit/oak/trunk/oak-run/src/main/java/org/apache/jackrabbit/oak/benchmark/wikipedia/WikipediaImport.java
Tue Feb 26 14:52:20 2013
@@ -88,7 +88,8 @@ public class WikipediaImport extends Ben
         int code = 0;
 
         System.out.format("Importing %s...%n", dump);
-        Node wikipedia = session.getRootNode().addNode("wikipedia");
+        Node wikipedia = session.getRootNode().addNode(
+                "wikipedia", "oak:unstructured");
 
         String title = null;
         String text = null;



Mime
View raw message