You're viewing version 2.7 of the OpenSearch documentation. This version is no longer maintained. For the latest version, see the current documentation. For information about OpenSearch version maintenance, see Release Schedule and Maintenance Policy.
Script APIs
The script APIs allow you to work with stored scripts. Stored scripts are part of the cluster state and reduce compilation time and enhance search speed. The default scripting language is Painless.
You can perform the following operations on stored scripts:
- Create or update stored script
- Execute Painless stored script
- Get stored script
- Delete script
- Get stored script contexts.
- Get script language