Class DeleteDanglingIndexRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.dangling_indices.DeleteDanglingIndexRequest
Delete a dangling index. If Elasticsearch encounters index data that is
absent from the current cluster state, those indices are considered to be
dangling. For example, this can happen if you delete more than
cluster.indices.tombstones.size indices while an Elasticsearch
node is offline.- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionEndpoint "dangling_indices.delete_dangling_index". -
Method Summary
Modifier and TypeMethodDescriptionfinal BooleanThis parameter must be set to true to acknowledge that it will no longer be possible to recove data from the dangling index.final StringRequired - The UUID of the index to delete.final TimeThe period to wait for a connection to the master node.static DeleteDanglingIndexRequestrebuild()final Timetimeout()The period to wait for a response.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
public static final Endpoint<DeleteDanglingIndexRequest,DeleteDanglingIndexResponse, _ENDPOINTErrorResponse> Endpoint "dangling_indices.delete_dangling_index".
-
-
Method Details
-
of
public static DeleteDanglingIndexRequest of(Function<DeleteDanglingIndexRequest.Builder, ObjectBuilder<DeleteDanglingIndexRequest>> fn) -
acceptDataLoss
This parameter must be set to true to acknowledge that it will no longer be possible to recove data from the dangling index.API name:
accept_data_loss -
indexUuid
Required - The UUID of the index to delete. Use the get dangling indices API to find the UUID.API name:
index_uuid -
masterTimeout
The period to wait for a connection to the master node.API name:
master_timeout -
timeout
The period to wait for a response.API name:
timeout -
rebuild
- Returns:
- New
DeleteDanglingIndexRequest.Builderinitialized with field values of this instance
-