jfarrell

Creating an Elasticsearch Plugin

Elasticsearch is a great search engine built on top of Apache Lucene. We came across the need to add new functionality and did not want to fork Elasticsearch for this. Luckily Elasticsearch comes with a plugin framework. We all ready leverage this framework to use the Apache Thrift transport. There was no documentation on how to create a plugin so after digging around in the code a little we where able to to create our own plugin.

Here is a tutorial on creating a plugin and installing it into Elasticsearch.

Invoking the maven package command will generate the plugin in the target/release folder in a zip file bundled with any dependencies you may have. To install the plugin run the elasticsearch plugin application