From 914664d89abc5036435a570cb125af66c0d6c6fc Mon Sep 17 00:00:00 2001 From: Ryan Ernst Date: Thu, 17 Nov 2016 08:22:15 -0800 Subject: [PATCH] Fix leftover reference to ScriptModule in native script docs --- docs/reference/modules/scripting/native.asciidoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/reference/modules/scripting/native.asciidoc b/docs/reference/modules/scripting/native.asciidoc index 37a2eac18cc..ed81f44889b 100644 --- a/docs/reference/modules/scripting/native.asciidoc +++ b/docs/reference/modules/scripting/native.asciidoc @@ -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: