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)
-