check search scroll URI to /_search/scroll from /_searchScroll
This commit is contained in:
parent
6bf19fcd93
commit
3e7bf0fa20
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue