Author: j16sdiz
Date: 2009-02-10 02:37:54 +0000 (Tue, 10 Feb 2009)
New Revision: 25582

Modified:
   trunk/plugins/XMLSpider/IndexWriter.java
Log:
more even file size - it was generating 60MiB index_f.xml
 - proper fix is the metadata fix

Modified: trunk/plugins/XMLSpider/IndexWriter.java
===================================================================
--- trunk/plugins/XMLSpider/IndexWriter.java    2009-02-10 01:31:12 UTC (rev 
25581)
+++ trunk/plugins/XMLSpider/IndexWriter.java    2009-02-10 02:37:54 UTC (rev 
25582)
@@ -305,7 +305,7 @@
                                
                                if ((count > 1 && (estimateSize + pages.size() 
* 13) > MAX_SIZE) || //
                                                (count > MAX_ENTRIES)) {
-                                       if (prefix.length() < 3 && 
indices.size() < 256) // FIXME this is a hack to limit number of files. remove 
after metadata fix
+                                       if (prefix.length() < 2 && 
indices.size() < 256) // FIXME this is a hack to limit number of files. remove 
after metadata fix
                                                return false;
                                }
 

_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs

Reply via email to