Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
right wordCachesize after orbiters commit.
allo1a13c8b78e46
diff --git a/htroot/js/WatchCrawler.js b/htroot/js/WatchCrawler.jsindex f0c5e07aa..8e9375dce 100644--- a/htroot/js/WatchCrawler.js+++ b/htroot/js/WatchCrawler.js@@ -63,7 +63,7 @@ function handleStatus(){return;}var statusResponse = statusRPC.responseXML;- statusTag=getFirstChild(getFirstChild(statusResponse, ""), "status")+ statusTag=getFirstChild(statusResponse, "status")ppm=getValue(getFirstChild(statusTag, "ppm"))var ppmSpan = document.getElementById("ppm");@@ -76,7 +76,7 @@ function handleStatus(){ppmSpan.appendChild(img);}- var wordCache=getValue(getFirstChild(statusTag, "wordCacheSize"));+ var wordCache=getValue(getFirstChild(statusTag, "wordCacheWSize"));var wordCacheMax=getValue(getFirstChild(statusTag, "wordCacheMaxCount"));var percent=Math.round(wordCache/wordCacheMax*100);diff --git a/htroot/xml/status_p.java b/htroot/xml/status_p.javaindex 069e446ee..617831dae 100644--- a/htroot/xml/status_p.java+++ b/htroot/xml/status_p.java@@ -65,6 +65,8 @@ public class status_p {yacyCore.peerActions.updateMySeed();prop.put("ppm", yacyCore.seedDB.mySeed.get(yacySeed.ISPEED, "unknown"));prop.put("wordCacheSize", switchboard.wordIndex.wSize() + switchboard.wordIndex.kSize());+ prop.put("wordCacheWSize", switchboard.wordIndex.wSize());+ prop.put("wordCacheKSize", switchboard.wordIndex.kSize());prop.put("wordCacheMaxCount", switchboard.getConfig("wordCacheMaxCount", "10000"));// return rewrite propertiesdiff --git a/htroot/xml/status_p.xml b/htroot/xml/status_p.xmlindex 18037c794..8438493a1 100644--- a/htroot/xml/status_p.xml+++ b/htroot/xml/status_p.xml@@ -1,7 +1,8 @@-<xml version="1.0">+<?xml version="1.0"?><status><ppm>#[ppm]#</ppm><wordCacheSize>#[wordCacheSize]#</wordCacheSize>+ <wordCacheWSize>#[wordCacheWSize]#</wordCacheWSize>+ <wordCacheKSize>#[wordCacheKSize]#</wordCacheKSize><wordCacheMaxCount>#[wordCacheMaxCount]#</wordCacheMaxCount></status>-</xml>