mirror of https://github.com/apache/lucene.git
SOLR-7125: Add note to javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1660925 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f013c438ee
commit
df3471a1b4
|
@ -477,6 +477,11 @@ public class CloudSolrClient extends SolrClient {
|
|||
|
||||
/**
|
||||
* Upload a set of config files to Zookeeper and give it a name
|
||||
*
|
||||
* NOTE: You should only allow trusted users to upload configs. If you
|
||||
* are allowing client access to zookeeper, you should protect the
|
||||
* /configs node against unauthorised write access.
|
||||
*
|
||||
* @param configPath {@link java.nio.file.Path} to the config files
|
||||
* @param configName the name of the config
|
||||
* @throws IOException if an IO error occurs
|
||||
|
|
Loading…
Reference in New Issue