Standard bulk API expects 2 lines and I generated a file with that format. stream2es added all the 4 lines whereas only 2 records should be added. DELETE /test PUT /test PUT /_bulk { "index" : { "_index" : "test", "_type" : "type1", "_id" : "1" }} { "field1" : "value1" } { "create" : { "_index" : "test", "_type" : "type1", "_id" : "3" } } { "field1" : "value3" } Is there an option to specify this?
Standard bulk API expects 2 lines and I generated a file with that format. stream2es added all the 4 lines whereas only 2 records should be added.
DELETE /test
PUT /test
PUT /_bulk
{ "index" : { "_index" : "test", "_type" : "type1", "_id" : "1" }}
{ "field1" : "value1" }
{ "create" : { "_index" : "test", "_type" : "type1", "_id" : "3" } }
{ "field1" : "value3" }
Is there an option to specify this?