pub struct BulkIndexOperation<B> { /* private fields */ }
Expand description

Bulk index operation

Implementations

Creates a new instance of BulkIndexOperation

Specify the id for the document

If an id is not specified, Elasticsearch will generate an id for the document which will be returned in the response.

Specify the name of the index to perform the bulk update operation against.

Each bulk operation can specify an index to operate against. If all bulk operations in one Bulk API call will operate against the same index, specify the index on Bulk using BulkParts::Index, and omit specifying the index on each bulk operation.

The ID of the pipeline to use to preprocess incoming documents

Target the specified primary shard

specify a sequence number to use for optimistic concurrency control

specify a primary term to use for optimistic concurrency control

specify a version number to use for optimistic concurrency control

The type of versioning used when a version is specified

Trait Implementations

Converts to this type from the input type.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more