Class ESClient

java.lang.Object
org.apache.tika.pipes.emitter.es.ESClient

public class ESClient extends Object
Plain HTTP client for the ES REST API.

This does not use the ES Java client library (which is SSPL / Elastic License). Instead it talks directly to the _bulk REST endpoint using Apache HttpClient (ASL v2).

Supports API key authentication (Authorization: ApiKey ...) as well as basic auth via the underlying HttpClient.