Class ESEmitter

All Implemented Interfaces:
Emitter, TikaExtension

public class ESEmitter extends AbstractEmitter
Emitter that sends documents to an ES-compatible REST API.

This emitter does not depend on the ES Java client (which changed to a non-ASL license). It uses plain HTTP via Apache HttpClient to call the _bulk endpoint directly.

Supports:

  • API key authentication (Authorization: ApiKey <base64>)
  • Basic authentication (username/password via httpClientConfig)
  • OVERWRITE and UPSERT update strategies
  • SEPARATE_DOCUMENTS and PARENT_CHILD attachment strategies