62 lines
4.3 KiB
Plaintext
62 lines
4.3 KiB
Plaintext
[[reference-dangling_indices-list_dangling_indices]]
|
|
|
|
////////
|
|
===========================================================================================================================
|
|
|| ||
|
|
|| ||
|
|
|| ||
|
|
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
|
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
|
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
|
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
|
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
|
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
|
|| ||
|
|
|| ||
|
|
|| 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.listDanglingIndices
|
|
|
|
Get the dangling indices. 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. Use this API to list dangling indices, which you can then import or delete.
|
|
|
|
{ref}/modules-gateway-dangling-indices.html[{es} documentation]
|
|
|
|
[discrete]
|
|
==== Function signature
|
|
|
|
[source,ts]
|
|
----
|
|
(DanglingIndicesListDanglingIndicesRequest, options?): Promise<DanglingIndicesListDanglingIndicesResponse>
|
|
----
|
|
|
|
[discrete]
|
|
===== `DanglingIndicesListDanglingIndicesRequest`
|
|
|
|
[source,ts]
|
|
----
|
|
interface DanglingIndicesListDanglingIndicesRequest extends <<shared-type-request-base, RequestBase>> {
|
|
}
|
|
----
|
|
|
|
[discrete]
|
|
===== `DanglingIndicesListDanglingIndicesResponse`
|
|
|
|
[source,ts]
|
|
----
|
|
interface DanglingIndicesListDanglingIndicesResponse {
|
|
dangling_indices: DanglingIndicesListDanglingIndicesDanglingIndex[]
|
|
}
|
|
----
|
|
|