public static class ElasticSearchConfig.ClientConfig extends Object
Constructor and Description |
---|
ClientConfig() |
Modifier and Type | Method and Description |
---|---|
ElasticSearchConfig.ClientConfig |
addHost(String host) |
ElasticSearchConfig.ClientConfig |
addPlugin(Class<? extends org.elasticsearch.plugins.Plugin> plugin) |
List<String> |
getHosts() |
Set<Class<? extends org.elasticsearch.plugins.Plugin>> |
getPlugins() |
Properties |
getProperties() |
ElasticSearchConfig.ClientConfig |
setProperty(String key,
String value) |
public ElasticSearchConfig.ClientConfig addHost(String host)
public Properties getProperties()
public ElasticSearchConfig.ClientConfig setProperty(String key, String value)
public ElasticSearchConfig.ClientConfig addPlugin(Class<? extends org.elasticsearch.plugins.Plugin> plugin)
Copyright © 2013-2018–2019 SeedStack. All rights reserved.