debug: add useful toString for SolrServer

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1243666 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Yonik Seeley 2012-02-13 19:41:47 +00:00
parent 7141c6c72d
commit ff49481d93
1 changed files with 5 additions and 0 deletions

View File

@ -680,4 +680,9 @@ public class CommonsHttpSolrServer extends SolrServer
.getHttpConnectionManager()).shutdown();
}
}
@Override
public String toString() {
return this.getClass().getSimpleName() + "{url=" + _baseURL + "}";
}
}