Removing a plugin
You have installed some plugins and now you need to remove a plugin because it's not required. Removing an Elasticsearch plugin is easy to uninstall if everything goes right, otherwise you need to manually remove it.
This recipe covers both cases.
Getting ready
You need a working Elasticsearch installation as we described in the Downloading and installing Elasticsearch recipe and a prompt/shell to execute commands in Elasticsearch install directory. Before removing a plugin, it is safer to stop Elasticsearch server to prevent error due to the deletion of plugin JAR.
How to do it...
The steps to remove a plugin are as follows:
Stop your running node to prevent exceptions caused due to removal of a file.
Using the Elasticsearch plugin manager, which comes with its script wrapper (plugin).
On Linux and MacOSX, type the following command:
elasticsearch-plugin remove lang-python
On Windows, type the following command:
elasticsearch-plugin.bat remove lang-python
Restart...