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:
Alan Woodward 2015-02-19 16:22:06 +00:00
parent f013c438ee
commit df3471a1b4
1 changed files with 5 additions and 0 deletions

View File

@ -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