Namespace: API-Dangling-Indices

API-Dangling-Indices

Methods

(static) DanglingIndicesApi#deleteDanglingIndex(params, optionsopt, callbackopt) → {Object|Promise.<never>|*}

Deletes the specified dangling index
See also: OpenSearch - Dangling Indexes
Parameters:
Name Type Attributes Description
params Object
Properties
Name Type Attributes Default Description
index_uuid string The UUID of the dangling index
accept_data_loss boolean <optional>
Must be set to true in order to delete the dangling index
timeout string <optional>
30s Explicit operation timeout
cluster_manager_timeout string <optional>
Specify timeout for connection to cluster_manager
options Object <optional>
Options for Transport#request
callback function <optional>
Callback that handles errors and response
Source:
Returns:
Type
Object | Promise.<never> | *

(static) DanglingIndicesApi#importDanglingIndex(params, optionsopt, callbackopt) → {Object|Promise.<never>|*}

Imports the specified dangling index
See also: OpenSearch - Dangling Indexes
Parameters:
Name Type Attributes Description
params Object
Properties
Name Type Attributes Default Description
index_uuid string The UUID of the dangling index
accept_data_loss boolean <optional>
Must be set to true in order to delete the dangling index
timeout string <optional>
30s Explicit operation timeout
cluster_manager_timeout string <optional>
Specify timeout for connection to cluster_manager
options Object <optional>
Options for Transport#request
callback function <optional>
Callback that handles errors and response
Source:
Returns:
Type
Object | Promise.<never> | *

(static) DanglingIndicesApi#listDanglingIndices(params, optionsopt, callbackopt) → {Object|Promise.<never>|*}

Retrieve all dangling indices.
See also: OpenSearch - Dangling Indexes
Parameters:
Name Type Attributes Description
params Object (Unused)
options Object <optional>
Options for Transport#request
callback function <optional>
Callback that handles errors and response
Source:
Returns:
Type
Object | Promise.<never> | *