Skip to content

Commit 71c8d24

Browse files
authored
Remove types exist action (#43344)
The types exists action was kept around only to not break transport client, as RestGetMappingAction has its own logic that ties into the unified HEAD requests handling. Now that tranport client is removed, we can remove also TransportTypesExistsAction as well as its corresponding request, request builder, response, and action.
1 parent bfce0f6 commit 71c8d24

File tree

11 files changed

+1
-546
lines changed

11 files changed

+1
-546
lines changed

server/src/main/java/org/elasticsearch/action/ActionModule.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,6 @@
101101
import org.elasticsearch.action.admin.indices.create.TransportCreateIndexAction;
102102
import org.elasticsearch.action.admin.indices.delete.DeleteIndexAction;
103103
import org.elasticsearch.action.admin.indices.delete.TransportDeleteIndexAction;
104-
import org.elasticsearch.action.admin.indices.exists.types.TransportTypesExistsAction;
105-
import org.elasticsearch.action.admin.indices.exists.types.TypesExistsAction;
106104
import org.elasticsearch.action.admin.indices.flush.FlushAction;
107105
import org.elasticsearch.action.admin.indices.flush.SyncedFlushAction;
108106
import org.elasticsearch.action.admin.indices.flush.TransportFlushAction;
@@ -463,7 +461,6 @@ public <Request extends ActionRequest, Response extends ActionResponse> void reg
463461
actions.register(GetIndexAction.INSTANCE, TransportGetIndexAction.class);
464462
actions.register(OpenIndexAction.INSTANCE, TransportOpenIndexAction.class);
465463
actions.register(CloseIndexAction.INSTANCE, TransportCloseIndexAction.class);
466-
actions.register(TypesExistsAction.INSTANCE, TransportTypesExistsAction.class);
467464
actions.register(GetMappingsAction.INSTANCE, TransportGetMappingsAction.class);
468465
actions.register(GetFieldMappingsAction.INSTANCE, TransportGetFieldMappingsAction.class,
469466
TransportGetFieldMappingsIndexAction.class);

server/src/main/java/org/elasticsearch/action/admin/indices/exists/types/TransportTypesExistsAction.java

Lines changed: 0 additions & 95 deletions
This file was deleted.

server/src/main/java/org/elasticsearch/action/admin/indices/exists/types/TypesExistsAction.java

Lines changed: 0 additions & 36 deletions
This file was deleted.

server/src/main/java/org/elasticsearch/action/admin/indices/exists/types/TypesExistsRequest.java

Lines changed: 0 additions & 108 deletions
This file was deleted.

server/src/main/java/org/elasticsearch/action/admin/indices/exists/types/TypesExistsRequestBuilder.java

Lines changed: 0 additions & 67 deletions
This file was deleted.

server/src/main/java/org/elasticsearch/action/admin/indices/exists/types/TypesExistsResponse.java

Lines changed: 0 additions & 56 deletions
This file was deleted.

0 commit comments

Comments
 (0)