mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-08 14:05:27 +00:00
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…
x
Reference in New Issue
Block a user