Class MetadataMappingService
java.lang.Object
org.elasticsearch.cluster.metadata.MetadataMappingService
public class MetadataMappingService
extends java.lang.Object
Service responsible for submitting mapping changes
-
Constructor Summary
Constructors Constructor Description MetadataMappingService(ClusterService clusterService, IndicesService indicesService)
-
Method Summary
Modifier and Type Method Description void
putMapping(PutMappingClusterStateUpdateRequest request, ActionListener<ClusterStateUpdateResponse> listener)
void
refreshMapping(java.lang.String index, java.lang.String indexUUID)
Refreshes mappings if they are not the same between original and parsed version
-
Constructor Details
-
MetadataMappingService
@Inject public MetadataMappingService(ClusterService clusterService, IndicesService indicesService)
-
-
Method Details
-
refreshMapping
public void refreshMapping(java.lang.String index, java.lang.String indexUUID)Refreshes mappings if they are not the same between original and parsed version -
putMapping
public void putMapping(PutMappingClusterStateUpdateRequest request, ActionListener<ClusterStateUpdateResponse> listener)
-