Chapter 12. Plugin Development

In this chapter, we will cover the following recipes:

  • Creating a site plugin
  • Creating a native plugin
  • Creating a REST plugin
  • Creating a cluster action
  • Creating an analyzer plugin
  • Creating a river plugin

Introduction

ElasticSearch can be extended with plugins to improve its capabilities. In the previous chapters, we have installed and used many of these plugins, such as transport, river, and scripting.

Plugins are application extensions that can add many features to ElasticSearch. They have several usages, as follows:

  • Adding a new transport layer (the thrift and memcached plugins are examples of this type)
  • Adding a new scripting language (such as Python and JavaScript plugins)
  • Extending Lucene-supported analyzers and tokenizers ...

Get ElasticSearch Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.