- Source:
Methods
(static) createPitApi(params, optionsopt, callbackopt) → {Object|Promise.<never>|*}
Creates a point in time.
See Also: Opensearch - Create a PIT
See Also: Opensearch - Create a PIT
Parameters:
Name | Type | Attributes | Description | |||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object |
Properties
|
||||||||||||||||||||||||||||||||||||
options |
Object |
<optional> |
Options for Transport#request | |||||||||||||||||||||||||||||||||||
callback |
function |
<optional> |
Callback that handles errors and response |
- Source:
Returns:
- Type
- Object | Promise.<never> | *
(static) deleteAllPitsApi(params, optionsopt, callbackopt) → {Object|Promise.<never>|*}
Deletes all PITs in the OpenSearch cluster. The Delete All PITs API deletes only local PITs or mixed PITs (PITs created in both local and remote clusters). It does not delete fully remote PITs.
See Also: Opensearch - Delete PITs
See Also: Opensearch - Delete PITs
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
params |
Object | ||
options |
Object |
<optional> |
Options for Transport#request |
callback |
function |
<optional> |
Callback that handles errors and response |
- Source:
Returns:
- Type
- Object | Promise.<never> | *
(static) deletePitApi(params, optionsopt, callbackopt) → {Object|Promise.<never>|*}
Deletes one or several PITs. PITs are automatically deleted when the keep_alive time period elapses. However, to deallocate resources, you can delete a PIT using the Delete PIT API.
See Also: Opensearch - Delete PITs
See Also: Opensearch - Delete PITs
Parameters:
Name | Type | Attributes | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object |
Properties
|
|||||||||||||
options |
Object |
<optional> |
Options for Transport#request | ||||||||||||
callback |
function |
<optional> |
Callback that handles errors and response |
- Source:
Returns:
- Type
- Object | Promise.<never> | *
(static) getAllPitsApi(params, optionsopt, callbackopt) → {Object|Promise.<never>|*}
Returns all PITs in the OpenSearch cluster.
See Also: Opensearch - List all PITs
See Also: Opensearch - List all PITs
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
params |
Object | ||
options |
Object |
<optional> |
Options for Transport#request |
callback |
function |
<optional> |
Callback that handles errors and response |
- Source:
Returns:
- Type
- Object | Promise.<never> | *