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

Bulk update operation

Implementations

Creates a new instance of BulkUpdateOperation

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.

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

specify how many times an update should be retried in the case of a version conflict

specify how the _source field is returned for the update operation.

This can also be specified as part of the update action source payload instead.

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