Files
elasticsearch-js/docs/reference-dangling_indices-delete_dangling_index.asciidoc
2024-12-05 14:46:52 -06:00

75 lines
4.3 KiB
Plaintext

[[reference-dangling_indices-delete_dangling_index]]
////////
===========================================================================================================================
|| ||
|| ||
|| ||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|| ||
|| ||
|| This file is autogenerated, DO NOT send pull requests that changes this file directly. ||
|| You should update the script that does the generation, which can be found in: ||
|| https://github.com/elastic/elastic-client-generator-js ||
|| ||
|| You can run the script with the following command: ||
|| npm run elasticsearch -- --version <version> ||
|| ||
|| ||
|| ||
===========================================================================================================================
////////
[discrete]
[[client.danglingIndices.deleteDanglingIndex]]
=== client.danglingIndices.deleteDanglingIndex
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.
{ref}/modules-gateway-dangling-indices.html[{es} documentation]
[discrete]
==== Function signature
[source,ts]
----
(DanglingIndicesDeleteDanglingIndexRequest, options?): Promise<DanglingIndicesDeleteDanglingIndexResponse>
----
[discrete]
==== Request
[pass]
++++
<pre>
++++
interface DanglingIndicesDeleteDanglingIndexRequest extends <<RequestBase>> {
index_uuid: <<Uuid>>
accept_data_loss: boolean
master_timeout?: <<Duration>>
timeout?: <<Duration>>
}
[pass]
++++
</pre>
++++
[discrete]
==== Response
[pass]
++++
<pre>
++++
type DanglingIndicesDeleteDanglingIndexResponse = <<AcknowledgedResponseBase>>
[pass]
++++
</pre>
++++