From 697613170daa8f1c6b6c0464631ec84a20b3a4ea Mon Sep 17 00:00:00 2001 From: Michael Peter Christen <mc@yacy.net> Date: Sat, 17 Aug 2013 09:25:32 +0200 Subject: [PATCH] less logging for postprocessing (this was a debugging logging with high CPU load) --- source/net/yacy/search/schema/CollectionConfiguration.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/net/yacy/search/schema/CollectionConfiguration.java b/source/net/yacy/search/schema/CollectionConfiguration.java index 86bbc3308..31696836d 100644 --- a/source/net/yacy/search/schema/CollectionConfiguration.java +++ b/source/net/yacy/search/schema/CollectionConfiguration.java @@ -896,7 +896,7 @@ public class CollectionConfiguration extends SchemaConfiguration implements Seri ConcurrentLog.info("CollectionConfiguration.CRHost", "convergence for host " + host + " after " + convergence_attempts + " steps"); // we have now the cr for all documents of a specific host; we store them for later use Map<byte[], CRV> crn = crh.normalize(); - crh.log(crn); + //crh.log(crn); ranking.putAll(crn); // accumulate this here for usage in document update later } } catch (final IOException e2) { @@ -1048,6 +1048,7 @@ public class CollectionConfiguration extends SchemaConfiguration implements Seri * log out a complete CRHost set of urls and ranking values * @param rm */ + @SuppressWarnings("unused") public void log(final Map<byte[], CRV> rm) { // print out all urls with their cr-values SolrConnector connector = segment.fulltext().getDefaultConnector();