Mapping ndjson

Hi @111228

You can accomplish that using the ES Bulk API:

curl -X PUT "localhost:9200/sample_data/_bulk?pretty" -H 'Content-Type: application/x-ndjson' --data-binary @sample.json

see this post for reference: