Closed tobias-o closed 5 years ago
This PR adds a function doc_as_upsert (https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-bulk.html#bulk-update) to bulk update requests.
doc_as_upsert
This is my first PR on a rust project, I'm not sure if that's the "rust way" to do it. Also I don't know if the tests are enough.
Any comments appreciated!
Thanks @tobias-o! This looks good to me.
This PR adds a function
doc_as_upsert
(https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-bulk.html#bulk-update) to bulk update requests.This is my first PR on a rust project, I'm not sure if that's the "rust way" to do it. Also I don't know if the tests are enough.
Any comments appreciated!