From 1dee536480154ee4e4b8d0035153512aa0a84970 Mon Sep 17 00:00:00 2001 From: Martin Gaievski Date: Tue, 18 Jan 2022 12:23:46 -0800 Subject: [PATCH] Adding ExtensiblePlugin to KNNPlugin (#264) Signed-off-by: Martin Gaievski --- src/main/java/org/opensearch/knn/plugin/KNNPlugin.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/opensearch/knn/plugin/KNNPlugin.java b/src/main/java/org/opensearch/knn/plugin/KNNPlugin.java index b04717e3d..122b77929 100644 --- a/src/main/java/org/opensearch/knn/plugin/KNNPlugin.java +++ b/src/main/java/org/opensearch/knn/plugin/KNNPlugin.java @@ -69,6 +69,7 @@ import org.opensearch.knn.training.VectorReader; import org.opensearch.plugins.ActionPlugin; import org.opensearch.plugins.EnginePlugin; +import org.opensearch.plugins.ExtensiblePlugin; import org.opensearch.plugins.MapperPlugin; import org.opensearch.plugins.Plugin; import org.opensearch.plugins.ScriptPlugin; @@ -126,7 +127,7 @@ * } * */ -public class KNNPlugin extends Plugin implements MapperPlugin, SearchPlugin, ActionPlugin, EnginePlugin, ScriptPlugin { +public class KNNPlugin extends Plugin implements MapperPlugin, SearchPlugin, ActionPlugin, EnginePlugin, ScriptPlugin, ExtensiblePlugin { public static final String LEGACY_KNN_BASE_URI = "/_opendistro/_knn"; public static final String KNN_BASE_URI = "/_plugins/_knn";