Class TransportClient

All Implemented Interfaces:, java.lang.AutoCloseable, Client, ElasticsearchClient, Releasable

public abstract class TransportClient
extends AbstractClient
TransportClient is deprecated in favour of the High Level REST client and will be removed in Elasticsearch 8.0.
The transport client allows to create a client that is not part of the cluster, but simply connects to one or more nodes directly by adding their respective addresses using addTransportAddress(org.elasticsearch.common.transport.TransportAddress).

The transport client important modules used is the NetworkModule which is started in client mode (only connects, no bind).