Book Image

ElasticSearch Cookbook

By : Alberto Paro
Book Image

ElasticSearch Cookbook

By: Alberto Paro

Overview of this book

Table of Contents (20 chapters)
ElasticSearch Cookbook Second Edition
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

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

  • Using native scripting to speed up the computation of scores, filters, and field manipulation

  • Extending node capabilities, for example, creating a node plugin that can execute your logic

  • Adding a new river to support new sources

  • Monitoring and administering the cluster

ElasticSearch plugins are of two kinds such as site and native plugins.

A site plugin is generally a standard HTML5 web application, while a native plugin has some Java content that defines a plugin's endpoints...