Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
lower Segment-size (hope to get Segments of 10GB) see: http://forum.yacy-websuche.de/viewtopic.php?f=5&t=5216&p=30036#p30034
sixcooler830057d78809
diff --git a/source/net/yacy/search/Switchboard.java b/source/net/yacy/search/Switchboard.javaindex 4f366acf2..4bbf1b9fd 100644--- a/source/net/yacy/search/Switchboard.java+++ b/source/net/yacy/search/Switchboard.java@@ -2337,7 +2337,7 @@ public final class Switchboard extends serverSwitch {long idleAdmin = System.currentTimeMillis() - this.adminAuthenticationLastAccess;long deltaOptimize = System.currentTimeMillis() - this.optimizeLastRun;boolean optimizeRequired = deltaOptimize > 60000 * 60 * 2 && idleAdmin > 600000; // optimize if user is idle for 10 minutes and at most every 2 hours- int opts = Math.min(10, Math.max(1, (int) (fulltext.collectionSize() / 5000000)));+ int opts = Math.min(10, Math.max(1, (int) (fulltext.collectionSize() / 1000000)));if (proccount > 0) {opts++; // have postprocessings will force optimazion with one more Segment which is small an quickoptimizeRequired = true;