vscode-elastic icon indicating copy to clipboard operation
vscode-elastic copied to clipboard

Support bulk operations

Open mn3mos opened this issue 4 years ago • 1 comments

Hi,

Thanks for this very useful plugin.

I'd like to use it to run bulk requests. These requests take a payload in the format of ndjson (newline delimited json) which is not recognized by your parser.

I would like to be able to run these queries to ingest some data, like in the following tutorial: https://opensearch.org/docs/search-plugins/knn/approximate-knn/

I would hope to put my payload inline in the .es file (currently the parser will take into account only the first line of the payload and ignore the rest) and/or from an external file (currently I get an "invalid json" error). image

If reading from an external "ndjson" file is easier, I'm ok with it image

Thanks in advance

mn3mos avatar Oct 04 '21 10:10 mn3mos

Well, I realized this is a duplicate of #15 So you can close the issue, and just consider it an upvote of #15 :)

BR

mn3mos avatar Oct 04 '21 11:10 mn3mos