SOLR-4973: Adding getter method for defaultCollection on CloudSolrServer.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1497582 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark Robert Miller 2013-06-27 22:13:52 +00:00
parent 15d3d0f46c
commit e547a5c03a
2 changed files with 8 additions and 0 deletions
solr
CHANGES.txt
solrj/src/java/org/apache/solr/client/solrj/impl

View File

@ -135,6 +135,9 @@ New Features
* SOLR-4972: Add PUT command to ZkCli tool. (Roman Shaposhnik via Mark Miller)
* SOLR-4973: Adding getter method for defaultCollection on CloudSolrServer.
(Furkan KAMACI via Mark Miller)
Bug Fixes
----------------------

View File

@ -131,6 +131,11 @@ public class CloudSolrServer extends SolrServer {
this.defaultCollection = collection;
}
/** Gets the default collection for request */
public String getDefaultCollection() {
return defaultCollection;
}
/** Set the connect timeout to the zookeeper ensemble in ms */
public void setZkConnectTimeout(int zkConnectTimeout) {
this.zkConnectTimeout = zkConnectTimeout;