Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
fix for PerformanceMemory showing UNRESOLVED_PATTERN by removing solr-cache-stuff, which is not available anymore
sixcoolere145afb8d6b0
diff --git a/htroot/PerformanceMemory_p.html b/htroot/PerformanceMemory_p.htmlindex afdfd412a..163d8a43f 100644--- a/htroot/PerformanceMemory_p.html+++ b/htroot/PerformanceMemory_p.html@@ -194,6 +194,7 @@<td>Insert</td><td>Delete</td></tr>+ <!-- CachedSolrConnector was replaced by ConcurrentUpdateSolrConnector<tr class="TableCellLight"><td>Solr-Cache/Hit</td><td>#[solrcacheHit.size]#</td>@@ -218,6 +219,7 @@<td>#[solrcacheDocument.Insert]#</td><td>(ARC)</td></tr>+ --><tr class="TableCellLight"><td>DNSCache/Hit</td><td>#[namecacheHit.size]#</td>diff --git a/htroot/PerformanceMemory_p.java b/htroot/PerformanceMemory_p.javaindex 930b94828..6c05a438a 100644--- a/htroot/PerformanceMemory_p.java+++ b/htroot/PerformanceMemory_p.java@@ -203,21 +203,21 @@ public class PerformanceMemory_p {prop.putNum("objectMissCacheTotalMem", totalmissmem / (1024d * 1024d));// other caching structures- final CachedSolrConnector solr = (CachedSolrConnector) Switchboard.getSwitchboard().index.fulltext().getDefaultConnector();- prop.putNum("solrcacheHit.size", solr.nameCacheHitSize());- prop.putNum("solrcacheHit.Hit", solr.hitCache_Hit);- prop.putNum("solrcacheHit.Miss", solr.hitCache_Miss);- prop.putNum("solrcacheHit.Insert", solr.hitCache_Insert);-- prop.putNum("solrcacheMiss.size", solr.nameCacheMissSize());- prop.putNum("solrcacheMiss.Hit", solr.missCache_Hit);- prop.putNum("solrcacheMiss.Miss", solr.missCache_Miss);- prop.putNum("solrcacheMiss.Insert", solr.missCache_Insert);-- prop.putNum("solrcacheDocument.size", solr.nameCacheDocumentSize());- prop.putNum("solrcacheDocument.Hit", solr.documentCache_Hit);- prop.putNum("solrcacheDocument.Miss", solr.documentCache_Miss);- prop.putNum("solrcacheDocument.Insert", solr.documentCache_Insert);+// final CachedSolrConnector solr = (CachedSolrConnector) Switchboard.getSwitchboard().index.fulltext().getDefaultConnector();+// prop.putNum("solrcacheHit.size", solr.nameCacheHitSize());+// prop.putNum("solrcacheHit.Hit", solr.hitCache_Hit);+// prop.putNum("solrcacheHit.Miss", solr.hitCache_Miss);+// prop.putNum("solrcacheHit.Insert", solr.hitCache_Insert);+//+// prop.putNum("solrcacheMiss.size", solr.nameCacheMissSize());+// prop.putNum("solrcacheMiss.Hit", solr.missCache_Hit);+// prop.putNum("solrcacheMiss.Miss", solr.missCache_Miss);+// prop.putNum("solrcacheMiss.Insert", solr.missCache_Insert);+//+// prop.putNum("solrcacheDocument.size", solr.nameCacheDocumentSize());+// prop.putNum("solrcacheDocument.Hit", solr.documentCache_Hit);+// prop.putNum("solrcacheDocument.Miss", solr.documentCache_Miss);+// prop.putNum("solrcacheDocument.Insert", solr.documentCache_Insert);prop.putNum("namecacheHit.size", Domains.nameCacheHitSize());prop.putNum("namecacheHit.Hit", Domains.cacheHit_Hit);