Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for _bulk endpoint in 'Any Request' #167

Open
maximpashuk opened this issue Sep 22, 2014 · 1 comment
Open

Add support for _bulk endpoint in 'Any Request' #167

maximpashuk opened this issue Sep 22, 2014 · 1 comment

Comments

@maximpashuk
Copy link

Any _bulk request to elasticsearch requires a request body which is not single JSON object, but a multiple JSON objects splitted by newline.

http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-bulk.html#docs-bulk

{ "index" : { "_index" : "test", "_type" : "type1", "_id" : "1" } }
{ "field1" : "value1" }
{ "delete" : { "_index" : "test", "_type" : "type1", "_id" : "2" } }
{ "create" : { "_index" : "test", "_type" : "type1", "_id" : "3" } }
{ "field1" : "value3" }
{ "update" : {"_id" : "1", "_type" : "type1", "_index" : "index1"} }
{ "doc" : {"field2" : "value2"} }

For now elasticsearch-head does not allow such requests using 'Any Request' tab - JSON validation error occurs.
Please add ability to send _bulk requests using 'Any Request' tab.

@csucjh
Copy link

csucjh commented Oct 18, 2021

This problem needs to be solved urgently

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

No branches or pull requests

2 participants