add _mlt as well for uri
This commit is contained in:
parent
8b36281d60
commit
c5a2d497df
|
@ -47,6 +47,8 @@ public class RestMoreLikeThisAction extends BaseRestHandler {
|
|||
super(settings, client);
|
||||
controller.registerHandler(GET, "/{index}/{type}/{id}/_moreLikeThis", this);
|
||||
controller.registerHandler(POST, "/{index}/{type}/{id}/_moreLikeThis", this);
|
||||
controller.registerHandler(GET, "/{index}/{type}/{id}/_mlt", this);
|
||||
controller.registerHandler(POST, "/{index}/{type}/{id}/_mlt", this);
|
||||
}
|
||||
|
||||
@Override public void handleRequest(final RestRequest request, final RestChannel channel) {
|
||||
|
|
Loading…
Reference in New Issue