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

How to do bulk or single Upsert #370

Open
abhishekvaid opened this issue Dec 1, 2017 · 1 comment
Open

How to do bulk or single Upsert #370

abhishekvaid opened this issue Dec 1, 2017 · 1 comment

Comments

@abhishekvaid
Copy link

abhishekvaid commented Dec 1, 2017

It is completely undocumented and I'm not able to find answer the question: How to upsert in bulk or single mode. In other words, is hitting the POST with multiple documents (since this plugin only exposes POST with list-like payload) a good idea or hitting each individual document in a list with a PUT ? I've tried various things but none of it seems to be working. If someone can give a one line answer with an example, it'll be very very helpful.

A related question would be to give status for bulk request. Where one status document is sent back for each document sent. Currently, only first document failure is returned in response for a bulk POST request.

@wizardnet972
Copy link

The library is support upsert now in the options :)

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