public class DeleteByQueryRequest extends AbstractBulkByScrollRequest<DeleteByQueryRequest> implements org.elasticsearch.action.IndicesRequest.Replaceable
DeleteByQueryRequest that uses scrolling and bulk requests to delete all documents matching
the query. This can have performance as well as visibility implications.
Delete-by-query now has the following semantics:
SIZE_ALL_MATCHES| Constructor and Description |
|---|
DeleteByQueryRequest() |
DeleteByQueryRequest(org.elasticsearch.action.search.SearchRequest search) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
indices() |
org.elasticsearch.action.IndicesRequest |
indices(java.lang.String... indices) |
org.elasticsearch.action.support.IndicesOptions |
indicesOptions() |
protected DeleteByQueryRequest |
self()
`this` cast to Self.
|
java.lang.String |
toString() |
org.elasticsearch.action.ActionRequestValidationException |
validate() |
createTask, doForSlice, getMaxRetries, getRequestsPerSecond, getRetryBackoffInitialTime, getSearchRequest, getShouldStoreResult, getSize, getSlices, getTimeout, getWaitForActiveShards, isAbortOnVersionConflict, isRefresh, readFrom, searchToString, setAbortOnVersionConflict, setConflicts, setMaxRetries, setRefresh, setRequestsPerSecond, setRetryBackoffInitialTime, setShouldStoreResult, setSize, setSlices, setTimeout, setWaitForActiveShards, setWaitForActiveShards, writeTogetDescription, getParentTask, setParentTask, setParentTaskpublic DeleteByQueryRequest()
public DeleteByQueryRequest(org.elasticsearch.action.search.SearchRequest search)
protected DeleteByQueryRequest self()
AbstractBulkByScrollRequestself in class AbstractBulkByScrollRequest<DeleteByQueryRequest>public org.elasticsearch.action.ActionRequestValidationException validate()
validate in class AbstractBulkByScrollRequest<DeleteByQueryRequest>public java.lang.String toString()
toString in class java.lang.Objectpublic org.elasticsearch.action.IndicesRequest indices(java.lang.String... indices)
indices in interface org.elasticsearch.action.IndicesRequest.Replaceablepublic java.lang.String[] indices()
indices in interface org.elasticsearch.action.IndicesRequestpublic org.elasticsearch.action.support.IndicesOptions indicesOptions()
indicesOptions in interface org.elasticsearch.action.IndicesRequest