public abstract static class SolrIO.ConnectionConfiguration
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
ConnectionConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
static SolrIO.ConnectionConfiguration |
create(java.lang.String zkHost)
Creates a new Solr connection configuration.
|
SolrIO.ConnectionConfiguration |
withBasicCredentials(java.lang.String username,
java.lang.String password)
If Solr basic authentication is enabled, provide the username and password.
|
public static SolrIO.ConnectionConfiguration create(java.lang.String zkHost)
zkHost - host of zookeeperpublic SolrIO.ConnectionConfiguration withBasicCredentials(java.lang.String username, java.lang.String password)