mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-28 17:34:17 -04:00
Fix leftover reference to ScriptModule in native script docs
This commit is contained in:
parent
df2a5e7691
commit
914664d89a
1 changed files with 2 additions and 2 deletions
|
@ -13,8 +13,8 @@ to construct the script. The actual script will extend either
|
|||
`AbstractExecutableScript` or `AbstractSearchScript`. The second one is likely
|
||||
the most useful and has several helpful subclasses you can extend like
|
||||
`AbstractLongSearchScript` and `AbstractDoubleSearchScript`.
|
||||
Finally, your plugin should register the native
|
||||
script by declaring the `onModule(ScriptModule)` method.
|
||||
Finally, your plugin should register the native script by implementing the
|
||||
`ScriptPlugin` interface.
|
||||
|
||||
If you squashed the whole thing into one class it'd look like:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue