|
156 | 156 | import org.elasticsearch.action.fieldcaps.FieldCapabilitiesAction;
|
157 | 157 | import org.elasticsearch.action.fieldcaps.TransportFieldCapabilitiesAction;
|
158 | 158 | import org.elasticsearch.action.fieldcaps.TransportFieldCapabilitiesIndexAction;
|
159 |
| -import org.elasticsearch.action.fieldstats.FieldStatsAction; |
160 |
| -import org.elasticsearch.action.fieldstats.TransportFieldStatsAction; |
161 | 159 | import org.elasticsearch.action.get.GetAction;
|
162 | 160 | import org.elasticsearch.action.get.MultiGetAction;
|
163 | 161 | import org.elasticsearch.action.get.TransportGetAction;
|
|
213 | 211 | import org.elasticsearch.rest.RestController;
|
214 | 212 | import org.elasticsearch.rest.RestHandler;
|
215 | 213 | import org.elasticsearch.rest.action.RestFieldCapabilitiesAction;
|
216 |
| -import org.elasticsearch.rest.action.RestFieldStatsAction; |
217 | 214 | import org.elasticsearch.rest.action.RestMainAction;
|
218 | 215 | import org.elasticsearch.rest.action.admin.cluster.RestCancelTasksAction;
|
219 | 216 | import org.elasticsearch.rest.action.admin.cluster.RestClusterAllocationExplainAction;
|
@@ -493,7 +490,6 @@ public <Request extends ActionRequest, Response extends ActionResponse> void reg
|
493 | 490 | actions.register(GetStoredScriptAction.INSTANCE, TransportGetStoredScriptAction.class);
|
494 | 491 | actions.register(DeleteStoredScriptAction.INSTANCE, TransportDeleteStoredScriptAction.class);
|
495 | 492 |
|
496 |
| - actions.register(FieldStatsAction.INSTANCE, TransportFieldStatsAction.class); |
497 | 493 | actions.register(FieldCapabilitiesAction.INSTANCE, TransportFieldCapabilitiesAction.class,
|
498 | 494 | TransportFieldCapabilitiesIndexAction.class);
|
499 | 495 |
|
@@ -607,7 +603,6 @@ public void initRestHandlers(Supplier<DiscoveryNodes> nodesInCluster) {
|
607 | 603 | registerHandler.accept(new RestPutStoredScriptAction(settings, restController));
|
608 | 604 | registerHandler.accept(new RestDeleteStoredScriptAction(settings, restController));
|
609 | 605 |
|
610 |
| - registerHandler.accept(new RestFieldStatsAction(settings, restController)); |
611 | 606 | registerHandler.accept(new RestFieldCapabilitiesAction(settings, restController));
|
612 | 607 |
|
613 | 608 | // Tasks API
|
|
0 commit comments