This documentation contains work-in-progress information for future Elastic Stack and Cloud releases. Use the version selector to view supported release docs. It also contains some Elastic Cloud serverless information. Check out our serverless docs for more details.
Creating an Elasticsearch plugin
editCreating an Elasticsearch plugin
editElasticsearch plugins are modular bits of code that add functionality to Elasticsearch. Plugins are written in Java and implement Java interfaces that are defined in the source code. Plugins are composed of JAR files and metadata files, compressed in a single zip file.
There are two ways to create a plugin:
- Creating text analysis plugins with the stable plugin API
- Text analysis plugins can be developed against the stable plugin API to provide Elasticsearch with custom Lucene analyzers, token filters, character filters, and tokenizers.
- Creating classic plugins
- Other plugins can be developed against the classic plugin API to provide custom authentication, authorization, or scoring mechanisms, and more.