Using Elasticsearch 5.5,getting the following error while posting this bulk request, unable to figure out what is wrong with the request.
\"type\": \"illegal
Your resource objects have to be specified on a single line like this
post /test322/type/_bulk
{ "index": {} }
{ "name": "Test1", "data": "This is my test data" }
{ "index": {} }
{ "name": "Test2", "data": "This is my test data2" }
Which seems really stupid and unintuitive I know since resources don't have to be on a single line when you create them using PUT or POST for non-bulk operations.