public class ZkUtils extends Object
| Constructor and Description |
|---|
ZkUtils() |
| Modifier and Type | Method and Description |
|---|---|
IndexConfigFactory |
getConfigFactory()
Gets the config factory.
|
String |
getStaticConfigurationClasspath()
Gets the static configuration classpath.
|
void |
setConfigFactory(IndexConfigFactory configFactory)
Sets the config factory.
|
void |
setStaticConfigurationClasspath(String staticConfigurationClasspath)
Sets the static configuration classpath.
|
void |
uploadZookeperConfig(org.apache.solr.common.cloud.SolrZkClient zkClient,
String coreName,
org.dom4j.Document fields,
Map<String,String> params,
boolean overwrite)
Upload zookeper config.
|
public void uploadZookeperConfig(org.apache.solr.common.cloud.SolrZkClient zkClient,
String coreName,
org.dom4j.Document fields,
Map<String,String> params,
boolean overwrite)
zkClient - the zk clientcoreName - the core namefields - the fieldsparams - the paramsoverwrite - the overwritepublic IndexConfigFactory getConfigFactory()
public void setConfigFactory(IndexConfigFactory configFactory)
configFactory - the new config factorypublic String getStaticConfigurationClasspath()
public void setStaticConfigurationClasspath(String staticConfigurationClasspath)
staticConfigurationClasspath - the new static configuration classpathCopyright © 2018. All rights reserved.