Skip to content
This repository has been archived by the owner on Jun 28, 2022. It is now read-only.

bulk API compatible file #63

Open
shantanuo opened this issue Jul 30, 2016 · 0 comments
Open

bulk API compatible file #63

shantanuo opened this issue Jul 30, 2016 · 0 comments

Comments

@shantanuo
Copy link

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant