public class MetaDataMappingService extends AbstractComponent
componentSettings, logger, settings
Constructor and Description |
---|
MetaDataMappingService(Settings settings,
ThreadPool threadPool,
ClusterService clusterService,
IndicesService indicesService) |
Modifier and Type | Method and Description |
---|---|
void |
putMapping(PutMappingClusterStateUpdateRequest request,
ActionListener<ClusterStateUpdateResponse> listener) |
void |
refreshMapping(String index,
String indexUUID,
String... types)
Refreshes mappings if they are not the same between original and parsed version
|
void |
removeMapping(DeleteMappingClusterStateUpdateRequest request,
ActionListener<ClusterStateUpdateResponse> listener) |
void |
updateMapping(String index,
String indexUUID,
String type,
CompressedString mappingSource,
long order,
String nodeId,
ActionListener<ClusterStateUpdateResponse> listener) |
nodeName
@Inject public MetaDataMappingService(Settings settings, ThreadPool threadPool, ClusterService clusterService, IndicesService indicesService)
public void refreshMapping(String index, String indexUUID, String... types)
public void updateMapping(String index, String indexUUID, String type, CompressedString mappingSource, long order, String nodeId, ActionListener<ClusterStateUpdateResponse> listener)
public void removeMapping(DeleteMappingClusterStateUpdateRequest request, ActionListener<ClusterStateUpdateResponse> listener)
public void putMapping(PutMappingClusterStateUpdateRequest request, ActionListener<ClusterStateUpdateResponse> listener)
Copyright © 2009–2015. All rights reserved.