Struct elasticsearch::Reindex [−][src]
pub struct Reindex<'a, 'b, B> { /* fields omitted */ }
Expand description
Builder for the Reindex API
Allows to copy documents from one index to another, optionally filtering the source documents by a query, changing the destination index settings, or fetching the documents from a remote cluster.
Implementations
The body for the API call
Include the stack trace of returned errors.
A comma-separated list of filters used to reduce the response.
Adds a HTTP header
Maximum number of documents to process (default: all documents)
Sets a request timeout for this API call.
The timeout is applied from when the request starts connecting until the response body has finished.
The throttle to set on this request in sub-requests per second. -1 means no throttle.
The number of slices this task should be divided into. Defaults to 1, meaning the task isn’t sliced into subtasks. Can be set to auto
.
The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
Time each individual bulk request should wait for shards that are unavailable.
Sets the number of shard copies that must be active before proceeding with the reindex operation. Defaults to 1, meaning the primary shard only. Set to all
for all shard copies, otherwise set to any non-negative value less than or equal to the total number of copies for the shard (number of replicas + 1)
Should the request should block until the reindex is complete.
Trait Implementations
Auto Trait Implementations
impl<'a, 'b, B> !RefUnwindSafe for Reindex<'a, 'b, B>
impl<'a, 'b, B> !UnwindSafe for Reindex<'a, 'b, B>
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more