Record Class ESEmitterConfig

java.lang.Object
java.lang.Record
org.apache.tika.pipes.emitter.es.ESEmitterConfig
Record Components:
esUrl - Full URL including index, e.g. https://localhost:9200/my-index
idField - Metadata field to use as the document _id
attachmentStrategy - How to handle embedded documents
updateStrategy - Whether to overwrite or upsert
commitWithin - Not used by ES, kept for API parity with OpenSearch emitter
embeddedFileFieldName - Field name for embedded-file relation
apiKey - API key for authentication (Base64-encoded id:api_key). Sent as Authorization: ApiKey <value>. If null/empty, falls back to httpClientConfig's userName/password for basic auth.
httpClientConfig - HTTP connection settings (basic auth, timeouts, proxy)
chunkStrategy - Where tk:chunks goes; null means ESEmitterConfig.ChunkStrategy.INLINE

public record ESEmitterConfig(String esUrl, String idField, ESEmitterConfig.AttachmentStrategy attachmentStrategy, ESEmitterConfig.UpdateStrategy updateStrategy, int commitWithin, String embeddedFileFieldName, String apiKey, HttpClientConfig httpClientConfig, ESEmitterConfig.ChunkStrategy chunkStrategy) extends Record
Configuration for the ES emitter.