check search scroll URI to /_search/scroll from /_searchScroll

This commit is contained in:
kimchy 2010-04-04 02:03:59 +03:00
parent 6bf19fcd93
commit 3e7bf0fa20
1 changed files with 4 additions and 4 deletions

View File

@ -45,10 +45,10 @@ public class RestSearchScrollAction extends BaseRestHandler {
@Inject public RestSearchScrollAction(Settings settings, Client client, RestController controller) { @Inject public RestSearchScrollAction(Settings settings, Client client, RestController controller) {
super(settings, client); super(settings, client);
controller.registerHandler(GET, "/_searchScroll", this); controller.registerHandler(GET, "/_search/scroll", this);
controller.registerHandler(POST, "/_searchScroll", this); controller.registerHandler(POST, "/_search/scroll", this);
controller.registerHandler(GET, "/_searchScroll/{scrollId}", this); controller.registerHandler(GET, "/_search/scroll/{scrollId}", this);
controller.registerHandler(POST, "/_searchScroll/{scrollId}", this); controller.registerHandler(POST, "/_search/scroll/{scrollId}", this);
} }
@Override public void handleRequest(final RestRequest request, final RestChannel channel) { @Override public void handleRequest(final RestRequest request, final RestChannel channel) {