mirror of https://github.com/apache/lucene.git
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:
parent
1d12507774
commit
24279e5c6a
|
@ -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);
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue