Skip to content

Bulk API should support documents encoded in JSON as well as encoded in SMILE #124

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

Open
iverase opened this issue Jan 24, 2022 · 0 comments
Labels
Category: Enhancement New feature or request

Comments

@iverase
Copy link

iverase commented Jan 24, 2022

Currently the High Level Rest Client supports bulks API to send documents encoded either in JSON or SMILE as stated in the docs:

The Bulk API supports only documents encoded in JSON or SMILE. Providing documents in any other format will result in an error.

I think this client should support it as well.

It is important to note that this is not only a wire concern as it has implication in how Elasticsearch will store the documents. The format the documents are sent determines how they are stored in _source which it has implication in index size and performance when fetching fields.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants