public class ReindexResponse extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ReindexResponse.Failure |
static class |
ReindexResponse.ReindexResponseBuilder |
| Modifier and Type | Method and Description |
|---|---|
static ReindexResponse.ReindexResponseBuilder |
builder()
Create a new
ReindexResponse.ReindexResponseBuilder to build ReindexResponse |
long |
getBatches()
The number of scroll responses pulled back by the update by query.
|
long |
getBulkRetries()
The number of times that the request had retry bulk actions.
|
long |
getCreated()
The number of documents that were successfully created.
|
long |
getDeleted()
The number of documents that were successfully deleted.
|
List<ReindexResponse.Failure> |
getFailures()
All of the bulk failures.
|
long |
getNoops()
The number of documents that were ignored because the script used for the update by query returned a noop value for
ctx.op.
|
double |
getRequestsPerSecond()
The number of requests per second effectively executed during the reindex.
|
long |
getSearchRetries()
The number of times that the request had retry search actions.
|
long |
getThrottledMillis()
Number of milliseconds the request slept to conform to requests_per_second.
|
long |
getThrottledUntilMillis()
This field should always be equal to zero in a _reindex response.
|
long |
getTook()
The number of milliseconds from start to end of the whole operation.
|
long |
getTotal()
The number of documents that were successfully processed.
|
long |
getUpdated()
The number of documents that were successfully updated.
|
long |
getVersionConflicts()
The number of version conflicts that the update by query hit.
|
boolean |
isTimedOut()
Did any of the sub-requests that were part of this request timeout?
|
public long getTook()
public boolean isTimedOut()
public long getTotal()
public long getCreated()
public long getUpdated()
public long getDeleted()
public long getBatches()
public long getVersionConflicts()
public long getNoops()
public long getBulkRetries()
public long getSearchRetries()
public long getThrottledMillis()
public double getRequestsPerSecond()
public long getThrottledUntilMillis()
public List<ReindexResponse.Failure> getFailures()
public static ReindexResponse.ReindexResponseBuilder builder()
ReindexResponse.ReindexResponseBuilder to build ReindexResponseReindexResponse.ReindexResponseBuilder to build ReindexResponseCopyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.