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 {


Reply via email to