Installing plugins in Elasticsearch
One of the main features of Elasticsearch is the possibility to extend it with plugins. Plugins extend Elasticsearch features and functionalities in several ways.
In Elasticsearch, these are native plugins. These are JAR files that contain application code, and are used for the following reasons:
- Script engines
- Custom analyzers, tokenizers, and scoring
- Custom mapping
- REST entry points
- Ingestion pipeline stages
- Supporting new storage (Hadoop and Google Cloud Platform (GCP) Cloud Storage)
- Extending X-Pack (that is, with a custom authorization provider)
Getting ready
You need a working Elasticsearch installation, as we described in the Downloading and installing Elasticsearch recipe, as well as a prompt/shell to execute commands in the Elasticsearch install
directory.
How to do it…
Elasticsearch provides a script for automatic downloads and for the installation of plugins in bin/directory
called...