Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
fixed bug with news caching
orbiteraf9021e9569b
diff --git a/source/de/anomic/yacy/yacyNewsDB.java b/source/de/anomic/yacy/yacyNewsDB.javaindex 82ac59961..adfc9a237 100644--- a/source/de/anomic/yacy/yacyNewsDB.java+++ b/source/de/anomic/yacy/yacyNewsDB.java@@ -68,13 +68,13 @@ public class yacyNewsDB {this.bufferkb = bufferkb;if (path.exists())- news = new kelondroTree(path, bufferkb);+ news = new kelondroTree(path, bufferkb * 0x400);else- news = createDB(path,bufferkb);+ news = createDB(path, bufferkb);}private static kelondroTree createDB(File path, int bufferkb) throws IOException {- return new kelondroTree(path, bufferkb, new int[] {+ return new kelondroTree(path, bufferkb * 0x400, new int[] {yacyNewsRecord.idLength(), // id = created + originatoryacyNewsRecord.categoryStringLength, // categoryyacyCore.universalDateShortPattern.length(), // received