You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-dev@xml.apache.org by vg...@apache.org on 2008/11/12 02:03:40 UTC

svn commit: r713235 - /xml/xindice/trunk/java/src/org/apache/xindice/core/MetaSystemCollection.java

Author: vgritsenko
Date: Tue Nov 11 17:03:39 2008
New Revision: 713235

URL: http://svn.apache.org/viewvc?rev=713235&view=rev
Log:
reduce block size for the meta collection filer, since meta xml is usually small

Modified:
    xml/xindice/trunk/java/src/org/apache/xindice/core/MetaSystemCollection.java

Modified: xml/xindice/trunk/java/src/org/apache/xindice/core/MetaSystemCollection.java
URL: http://svn.apache.org/viewvc/xml/xindice/trunk/java/src/org/apache/xindice/core/MetaSystemCollection.java?rev=713235&r1=713234&r2=713235&view=diff
==============================================================================
--- xml/xindice/trunk/java/src/org/apache/xindice/core/MetaSystemCollection.java (original)
+++ xml/xindice/trunk/java/src/org/apache/xindice/core/MetaSystemCollection.java Tue Nov 11 17:03:39 2008
@@ -117,14 +117,14 @@
             }
 
             Collection childcol = current.getCollection(segment);
-            if (null == childcol) {
+            if (childcol == null) {
                 if (!create) {
                     return null;
                 }
 
                 String cfgText
                         = "<collection name='" + segment + "' compressed='true'>"
-                        + "  <filer class='org.apache.xindice.core.filer.BTreeFiler'/>"
+                        + "  <filer class='org.apache.xindice.core.filer.BTreeFiler' pagesize='1024'/>"
                         + "</collection>";
 
                 try {