|
@@ -32,12 +32,13 @@ for the plugin. If you need other resources, package them into a resources JAR.
|
|
|
The {es} repository contains {es-repo}tree/main/plugins/examples[examples of plugins]. Some of these include:
|
|
The {es} repository contains {es-repo}tree/main/plugins/examples[examples of plugins]. Some of these include:
|
|
|
|
|
|
|
|
* a plugin with {es-repo}tree/main/plugins/examples/custom-settings[custom settings]
|
|
* a plugin with {es-repo}tree/main/plugins/examples/custom-settings[custom settings]
|
|
|
|
|
+* a plugin with a {es-repo}tree/main/plugins/examples/custom-processor[custom ingest processor]
|
|
|
* adding {es-repo}tree/main/plugins/examples/rest-handler[custom rest endpoints]
|
|
* adding {es-repo}tree/main/plugins/examples/rest-handler[custom rest endpoints]
|
|
|
* adding a {es-repo}tree/main/plugins/examples/rescore[custom rescorer]
|
|
* adding a {es-repo}tree/main/plugins/examples/rescore[custom rescorer]
|
|
|
* a script {es-repo}tree/main/plugins/examples/script-expert-scoring[implemented in Java]
|
|
* a script {es-repo}tree/main/plugins/examples/script-expert-scoring[implemented in Java]
|
|
|
|
|
|
|
|
These examples provide the bare bones needed to get started. For more
|
|
These examples provide the bare bones needed to get started. For more
|
|
|
-information about how to write a plugin, we recommend looking at the
|
|
|
|
|
|
|
+information about how to write a plugin, we recommend looking at the
|
|
|
{es-repo}tree/main/plugins/[source code of existing plugins] for inspiration.
|
|
{es-repo}tree/main/plugins/[source code of existing plugins] for inspiration.
|
|
|
|
|
|
|
|
[discrete]
|
|
[discrete]
|
|
@@ -88,4 +89,4 @@ for more information.
|
|
|
[[plugin-descriptor-file-classic]]
|
|
[[plugin-descriptor-file-classic]]
|
|
|
==== The plugin descriptor file for classic plugins
|
|
==== The plugin descriptor file for classic plugins
|
|
|
|
|
|
|
|
-include::plugin-descriptor-file.asciidoc[]
|
|
|
|
|
|
|
+include::plugin-descriptor-file.asciidoc[]
|