I am trying to import shakespeare.json as per elastic search tutorial.
[Environment]
In Latest ElasticSearch 6, to populate the sharespeare_6.0.json, the following is the curl command
curl -H Content-Type:application/x-ndjson -XPUT localhost:9200/shakespeare/doc/_bulk --data-binary @shakespeare_6.0.json