- Source:
Methods
(static) deleteScriptApi(params, optionsopt, callbackopt) → {Object|Promise.<never>|*}
Delete a stored script.
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) getScriptApi(params, optionsopt, callbackopt) → {Object|Promise.<never>|*}
Retrieves a stored script.
See also: OpenSearch - Get Stored Script
See also: OpenSearch - Get Stored Script
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) getScriptContextApi(params, optionsopt, callbackopt) → {Object|Promise.<never>|*}
Retrieves all contexts for stored scripts.
See also: OpenSearch - Get stored script contexts
See also: OpenSearch - Get stored script contexts
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> | *
(static) getScriptLanguagesApi(params, optionsopt, callbackopt) → {Object|Promise.<never>|*}
The get script language API operation retrieves all supported script languages and their contexts.
See also: OpenSearch - Get script language
See also: OpenSearch - Get script language
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> | *
(static) putScriptApi(params, optionsopt, callbackopt) → {Object|Promise.<never>|*}
Creates or updates a script.
See also: OpenSearch - Create or update stored script
See also: OpenSearch - Create or update stored script
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) scriptsPainlessExecuteApi(params, optionsopt, callbackopt) → {Object|Promise.<never>|*}
Execute Painless script
See also: OpenSearch - Execute Painless script
See also: OpenSearch - Execute Painless script
Parameters:
Name | Type | Attributes | Description | ||||||
---|---|---|---|---|---|---|---|---|---|
params |
Object |
Properties
|
|||||||
options |
Object |
<optional> |
Options for Transport#request | ||||||
callback |
function |
<optional> |
Callback that handles errors and response |
Returns:
- Type
- Object | Promise.<never> | *