authors.asciidoc 960 B

123456789101112131415161718192021222324252627
  1. [[plugin-authors]]
  2. == Creating an {es} plugin
  3. {es} plugins are modular bits of code that add functionality to
  4. {es}. Plugins are written in Java and implement Java interfaces that
  5. are defined in the source code. Plugins are composed of JAR files and metadata
  6. files, compressed in a single zip file.
  7. There are two ways to create a plugin:
  8. <<creating-stable-plugins>>::
  9. Text analysis plugins can be developed against the stable plugin API to provide
  10. {es} with custom Lucene analyzers, token filters, character filters, and
  11. tokenizers.
  12. <<creating-classic-plugins>>::
  13. Other plugins can be developed against the classic plugin API to provide custom
  14. authentication, authorization, or scoring mechanisms, and more.
  15. :plugin-type: stable
  16. include::development/creating-stable-plugins.asciidoc[]
  17. include::development/example-text-analysis-plugin.asciidoc[]
  18. :!plugin-type:
  19. :plugin-type: classic
  20. include::development/creating-classic-plugins.asciidoc[]
  21. :!plugin-type: