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) {