From 3e7bf0fa20312acd476bfdfba45d4f828c5a1353 Mon Sep 17 00:00:00 2001 From: kimchy Date: Sun, 4 Apr 2010 02:03:59 +0300 Subject: [PATCH] check search scroll URI to /_search/scroll from /_searchScroll --- .../rest/action/search/RestSearchScrollAction.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/elasticsearch/src/main/java/org/elasticsearch/rest/action/search/RestSearchScrollAction.java b/modules/elasticsearch/src/main/java/org/elasticsearch/rest/action/search/RestSearchScrollAction.java index d0531b3af5c..fdca5500b84 100644 --- a/modules/elasticsearch/src/main/java/org/elasticsearch/rest/action/search/RestSearchScrollAction.java +++ b/modules/elasticsearch/src/main/java/org/elasticsearch/rest/action/search/RestSearchScrollAction.java @@ -45,10 +45,10 @@ public class RestSearchScrollAction extends BaseRestHandler { @Inject public RestSearchScrollAction(Settings settings, Client client, RestController controller) { super(settings, client); - controller.registerHandler(GET, "/_searchScroll", this); - controller.registerHandler(POST, "/_searchScroll", this); - controller.registerHandler(GET, "/_searchScroll/{scrollId}", this); - controller.registerHandler(POST, "/_searchScroll/{scrollId}", this); + controller.registerHandler(GET, "/_search/scroll", this); + controller.registerHandler(POST, "/_search/scroll", this); + controller.registerHandler(GET, "/_search/scroll/{scrollId}", this); + controller.registerHandler(POST, "/_search/scroll/{scrollId}", this); } @Override public void handleRequest(final RestRequest request, final RestChannel channel) {