From 4fc6837690800fac1e045bb457408ac78b27aac2 Mon Sep 17 00:00:00 2001 From: reger Date: Fri, 10 May 2013 04:38:13 +0200 Subject: [PATCH] - fix monitor url of crawl job in PerformanceQueues_p.html - reduce logging of every index add (switch embeddedsolr.add from info to debug) --- .../cora/federate/solr/connector/EmbeddedSolrConnector.java | 2 +- source/net/yacy/search/Switchboard.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/source/net/yacy/cora/federate/solr/connector/EmbeddedSolrConnector.java b/source/net/yacy/cora/federate/solr/connector/EmbeddedSolrConnector.java index 85f5b64f8..e4e036cfb 100644 --- a/source/net/yacy/cora/federate/solr/connector/EmbeddedSolrConnector.java +++ b/source/net/yacy/cora/federate/solr/connector/EmbeddedSolrConnector.java @@ -193,7 +193,7 @@ public class EmbeddedSolrConnector extends SolrServerConnector implements SolrCo QueryResponse rsp; rsp = this.server.query(params); if (q != null) Thread.currentThread().setName(threadname); - if (rsp != null) log.info(rsp.getResults().getNumFound() + " results for q=" + q); + if (rsp != null) log.debug(rsp.getResults().getNumFound() + " results for q=" + q); return rsp; } catch (SolrServerException e) { throw new IOException(e); diff --git a/source/net/yacy/search/Switchboard.java b/source/net/yacy/search/Switchboard.java index 9601694c1..693b7b362 100644 --- a/source/net/yacy/search/Switchboard.java +++ b/source/net/yacy/search/Switchboard.java @@ -982,7 +982,7 @@ public final class Switchboard extends serverSwitch { SwitchboardConstants.CRAWLJOB_REMOTE_TRIGGERED_CRAWL, "Remote Crawl Job", "thread that performes a single crawl/indexing step triggered by a remote peer", - "/IndexCreateWWWRemoteQueue_p.html", + "/IndexCreateQueues_p.html?stack=REMOTE", new InstantBusyThread( this.crawlQueues, SwitchboardConstants.CRAWLJOB_REMOTE_TRIGGERED_CRAWL_METHOD_START, @@ -1012,7 +1012,7 @@ public final class Switchboard extends serverSwitch { SwitchboardConstants.CRAWLJOB_LOCAL_CRAWL, "Local Crawl", "thread that performes a single crawl step from the local crawl queue", - "/IndexCreateWWWLocalQueue_p.html", + "/IndexCreateQueues_p.html?stack=LOCAL", new InstantBusyThread( this.crawlQueues, SwitchboardConstants.CRAWLJOB_LOCAL_CRAWL_METHOD_START,