IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
JavaScript Language Plugin
editJavaScript Language Plugin
editDeprecated in 5.0.0.
JavaScript will be replaced by the new default scripting language Painless
The JavaScript language plugin enables the use of JavaScript in Elasticsearch scripts, via Mozilla’s Rhino JavaScript engine.
Installation
editThis plugin can be installed using the plugin manager:
sudo bin/elasticsearch-plugin install lang-javascript
The plugin must be installed on every node in the cluster, and each node must be restarted after installation.
This plugin can be downloaded for offline install from https://artifacts.elastic.co/downloads/elasticsearch-plugins/lang-javascript/lang-javascript-5.5.3.zip.
Removal
editThe plugin can be removed with the following command:
sudo bin/elasticsearch-plugin remove lang-javascript
The node must be stopped before removing the plugin.