Package org.nuxeo.elasticsearch.client
Class ESTransportClientFactory
- java.lang.Object
-
- org.nuxeo.elasticsearch.client.ESTransportClientFactory
-
- All Implemented Interfaces:
ESClientFactory
public class ESTransportClientFactory extends Object implements ESClientFactory
- Since:
- 9.3
-
-
Constructor Summary
Constructors Constructor Description ESTransportClientFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ESClient
create(ElasticSearchEmbeddedNode node, ElasticSearchClientConfig config)
protected ESClient
createLocalClient(ElasticSearchEmbeddedNode node)
protected ESClient
createRemoteClient(ElasticSearchClientConfig config)
org.elasticsearch.common.settings.Settings.Builder
getSetting(ElasticSearchClientConfig config)
-
-
-
Method Detail
-
getSetting
public org.elasticsearch.common.settings.Settings.Builder getSetting(ElasticSearchClientConfig config)
-
create
public ESClient create(ElasticSearchEmbeddedNode node, ElasticSearchClientConfig config)
- Specified by:
create
in interfaceESClientFactory
-
createRemoteClient
protected ESClient createRemoteClient(ElasticSearchClientConfig config)
-
createLocalClient
protected ESClient createLocalClient(ElasticSearchEmbeddedNode node)
-
-