From 06e6f973128893c13ac095569dfb50ddfbc0cbfd Mon Sep 17 00:00:00 2001 From: Suraj Singh Date: Thu, 10 Mar 2022 13:46:32 -0800 Subject: [PATCH] [Remove] Type mapping end-points from RestMultiSearchTemplateAction Signed-off-by: Suraj Singh --- .../script/mustache/RestMultiSearchTemplateAction.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/modules/lang-mustache/src/main/java/org/opensearch/script/mustache/RestMultiSearchTemplateAction.java b/modules/lang-mustache/src/main/java/org/opensearch/script/mustache/RestMultiSearchTemplateAction.java index fc5a0ff601a00..52a6fb3756c16 100644 --- a/modules/lang-mustache/src/main/java/org/opensearch/script/mustache/RestMultiSearchTemplateAction.java +++ b/modules/lang-mustache/src/main/java/org/opensearch/script/mustache/RestMultiSearchTemplateAction.java @@ -75,10 +75,7 @@ public List routes() { new Route(GET, "/_msearch/template"), new Route(POST, "/_msearch/template"), new Route(GET, "/{index}/_msearch/template"), - new Route(POST, "/{index}/_msearch/template"), - // Deprecated typed endpoints. - new Route(GET, "/{index}/{type}/_msearch/template"), - new Route(POST, "/{index}/{type}/_msearch/template") + new Route(POST, "/{index}/_msearch/template") ) ); }