Closed mfelsche closed 2 years ago
Describe the bug Both the BulkOperation::create as well as BulkCreateOperation::new require an _id argument, although this is optional according to the docs in https://www.elastic.co/guide/en/elasticsearch/reference/7.14/docs-bulk.html#bulk-api-request-body
BulkOperation::create
BulkCreateOperation::new
_id
Expected behavior
Provide a way to create a BulkCreateOperation without the _id, e.g. make the argument an Option<S>.
BulkCreateOperation
Option<S>
Environment (please complete the following information):
Hi @mfelsche, this is the same issue as #174; I'm going to close to consolidate on that issue.
Thank you! I honestly didn't find #174 when i filed this one, my bad.
Describe the bug Both the
BulkOperation::create
as well asBulkCreateOperation::new
require an_id
argument, although this is optional according to the docs in https://www.elastic.co/guide/en/elasticsearch/reference/7.14/docs-bulk.html#bulk-api-request-bodyExpected behavior
Provide a way to create a
BulkCreateOperation
without the_id
, e.g. make the argument anOption<S>
.Environment (please complete the following information):