mirror of https://github.com/apache/lucene.git
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:
parent
15d3d0f46c
commit
e547a5c03a
|
@ -135,6 +135,9 @@ New Features
|
||||||
|
|
||||||
* SOLR-4972: Add PUT command to ZkCli tool. (Roman Shaposhnik via Mark Miller)
|
* 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
|
Bug Fixes
|
||||||
----------------------
|
----------------------
|
||||||
|
|
||||||
|
|
|
@ -131,6 +131,11 @@ public class CloudSolrServer extends SolrServer {
|
||||||
this.defaultCollection = collection;
|
this.defaultCollection = collection;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Gets the default collection for request */
|
||||||
|
public String getDefaultCollection() {
|
||||||
|
return defaultCollection;
|
||||||
|
}
|
||||||
|
|
||||||
/** Set the connect timeout to the zookeeper ensemble in ms */
|
/** Set the connect timeout to the zookeeper ensemble in ms */
|
||||||
public void setZkConnectTimeout(int zkConnectTimeout) {
|
public void setZkConnectTimeout(int zkConnectTimeout) {
|
||||||
this.zkConnectTimeout = zkConnectTimeout;
|
this.zkConnectTimeout = zkConnectTimeout;
|
||||||
|
|
Loading…
Reference in New Issue