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
This commit is contained in:
Mark Robert Miller 2013-11-02 14:15:29 +00:00
parent 1d12507774
commit 24279e5c6a
2 changed files with 4 additions and 4 deletions

View File

@ -393,7 +393,7 @@ public class RecoveryStrategy extends Thread implements ClosableThread {
.getNewestSearcher(false); .getNewestSearcher(false);
SolrIndexSearcher searcher = searchHolder.get(); SolrIndexSearcher searcher = searchHolder.get();
try { try {
System.out.println(core.getCoreDescriptor() System.err.println(core.getCoreDescriptor()
.getCoreContainer().getZkController().getNodeName() .getCoreContainer().getZkController().getNodeName()
+ " synched " + " synched "
+ searcher.search(new MatchAllDocsQuery(), 1).totalHits); + searcher.search(new MatchAllDocsQuery(), 1).totalHits);
@ -542,7 +542,7 @@ public class RecoveryStrategy extends Thread implements ClosableThread {
.getNewestSearcher(false); .getNewestSearcher(false);
SolrIndexSearcher searcher = searchHolder.get(); SolrIndexSearcher searcher = searchHolder.get();
try { try {
System.out.println(core.getCoreDescriptor().getCoreContainer() System.err.println(core.getCoreDescriptor().getCoreContainer()
.getZkController().getNodeName() .getZkController().getNodeName()
+ " replayed " + " replayed "
+ searcher.search(new MatchAllDocsQuery(), 1).totalHits); + searcher.search(new MatchAllDocsQuery(), 1).totalHits);

View File

@ -802,7 +802,7 @@ public class CoreAdminHandler extends RequestHandlerBase {
.getNewestSearcher(false); .getNewestSearcher(false);
SolrIndexSearcher searcher = searchHolder.get(); SolrIndexSearcher searcher = searchHolder.get();
try { try {
System.out.println(core.getCoreDescriptor().getCoreContainer() System.err.println(core.getCoreDescriptor().getCoreContainer()
.getZkController().getNodeName() .getZkController().getNodeName()
+ " synched " + " synched "
+ searcher.search(new MatchAllDocsQuery(), 1).totalHits); + searcher.search(new MatchAllDocsQuery(), 1).totalHits);
@ -927,7 +927,7 @@ public class CoreAdminHandler extends RequestHandlerBase {
.getNewestSearcher(false); .getNewestSearcher(false);
SolrIndexSearcher searcher = searchHolder.get(); SolrIndexSearcher searcher = searchHolder.get();
try { try {
System.out.println(core.getCoreDescriptor().getCoreContainer() System.err.println(core.getCoreDescriptor().getCoreContainer()
.getZkController().getNodeName() .getZkController().getNodeName()
+ " to replicate " + " to replicate "
+ searcher.search(new MatchAllDocsQuery(), 1).totalHits + searcher.search(new MatchAllDocsQuery(), 1).totalHits