Configuration Parameters
By default, the Magetable name is used to set the Elasticsearch index name.
Metadata Field Mapping
Usemetadata_fields to extract values from incoming records and apply them to Elasticsearch document metadata (e.g., _id):
This will set the_idof each indexed document to the value of themy_idfield in the input record.
Bulk Operation Settings (bulk_kwargs)
All options below are optional, but useful for controlling indexing performance and fault tolerance.
Example Configuration
Notes
- You can authenticate with basic auth, bearer tokens, or API keys.
- Set
_op_type: createif you want to avoid overwriting documents with the same_id. - For production environments, it’s recommended to use
https, enableverify_certs, and configuressl_ca_file. - Performance tuning with
bulk_kwargsis especially helpful for large datasets or real-time indexing.