From 24279e5c6a3c437f88a43561c4b147b0678cf132 Mon Sep 17 00:00:00 2001 From: Mark Robert Miller Date: Sat, 2 Nov 2013 14:15:29 +0000 Subject: [PATCH] tests: solrcloud debug sys outs to sys err git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1538198 13f79535-47bb-0310-9956-ffa450edef68 --- .../core/src/java/org/apache/solr/cloud/RecoveryStrategy.java | 4 ++-- .../java/org/apache/solr/handler/admin/CoreAdminHandler.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/solr/core/src/java/org/apache/solr/cloud/RecoveryStrategy.java b/solr/core/src/java/org/apache/solr/cloud/RecoveryStrategy.java index e6c63a4d73e..438b75fd70e 100644 --- a/solr/core/src/java/org/apache/solr/cloud/RecoveryStrategy.java +++ b/solr/core/src/java/org/apache/solr/cloud/RecoveryStrategy.java @@ -393,7 +393,7 @@ public class RecoveryStrategy extends Thread implements ClosableThread { .getNewestSearcher(false); SolrIndexSearcher searcher = searchHolder.get(); try { - System.out.println(core.getCoreDescriptor() + System.err.println(core.getCoreDescriptor() .getCoreContainer().getZkController().getNodeName() + " synched " + searcher.search(new MatchAllDocsQuery(), 1).totalHits); @@ -542,7 +542,7 @@ public class RecoveryStrategy extends Thread implements ClosableThread { .getNewestSearcher(false); SolrIndexSearcher searcher = searchHolder.get(); try { - System.out.println(core.getCoreDescriptor().getCoreContainer() + System.err.println(core.getCoreDescriptor().getCoreContainer() .getZkController().getNodeName() + " replayed " + searcher.search(new MatchAllDocsQuery(), 1).totalHits); diff --git a/solr/core/src/java/org/apache/solr/handler/admin/CoreAdminHandler.java b/solr/core/src/java/org/apache/solr/handler/admin/CoreAdminHandler.java index ad3f5f8ec2e..80072af6c4b 100644 --- a/solr/core/src/java/org/apache/solr/handler/admin/CoreAdminHandler.java +++ b/solr/core/src/java/org/apache/solr/handler/admin/CoreAdminHandler.java @@ -802,7 +802,7 @@ public class CoreAdminHandler extends RequestHandlerBase { .getNewestSearcher(false); SolrIndexSearcher searcher = searchHolder.get(); try { - System.out.println(core.getCoreDescriptor().getCoreContainer() + System.err.println(core.getCoreDescriptor().getCoreContainer() .getZkController().getNodeName() + " synched " + searcher.search(new MatchAllDocsQuery(), 1).totalHits); @@ -927,7 +927,7 @@ public class CoreAdminHandler extends RequestHandlerBase { .getNewestSearcher(false); SolrIndexSearcher searcher = searchHolder.get(); try { - System.out.println(core.getCoreDescriptor().getCoreContainer() + System.err.println(core.getCoreDescriptor().getCoreContainer() .getZkController().getNodeName() + " to replicate " + searcher.search(new MatchAllDocsQuery(), 1).totalHits