We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 854fc21 commit 06cbc0aCopy full SHA for 06cbc0a
modules/elasticsearch/src/main/java/org/elasticsearch/http/action/count/HttpCountAction.java
@@ -44,6 +44,8 @@ public class HttpCountAction extends BaseHttpServerHandler {
44
45
@Inject public HttpCountAction(Settings settings, HttpServer httpService, Client client) {
46
super(settings, client);
47
+ httpService.registerHandler(HttpRequest.Method.POST, "/_count", this);
48
+ httpService.registerHandler(HttpRequest.Method.GET, "/_count", this);
49
httpService.registerHandler(HttpRequest.Method.POST, "/{index}/_count", this);
50
httpService.registerHandler(HttpRequest.Method.GET, "/{index}/_count", this);
51
httpService.registerHandler(HttpRequest.Method.POST, "/{index}/{type}/_count", this);
0 commit comments