public class MappingUpdatedAction extends AbstractComponent
Modifier and Type | Field | Description |
---|---|---|
static Setting<TimeValue> |
INDICES_MAPPING_DYNAMIC_TIMEOUT_SETTING |
deprecationLogger, logger, settings
Constructor | Description |
---|---|
MappingUpdatedAction(Settings settings,
ClusterSettings clusterSettings) |
Modifier and Type | Method | Description |
---|---|---|
void |
setClient(Client client) |
|
void |
updateMappingOnMaster(Index index,
java.lang.String type,
Mapping mappingUpdate) |
Same as
updateMappingOnMaster(Index, String, Mapping, TimeValue)
using the default timeout. |
void |
updateMappingOnMaster(Index index,
java.lang.String type,
Mapping mappingUpdate,
TimeValue timeout) |
Update mappings synchronously on the master node, waiting for at most
timeout . |
logDeprecatedSetting, logRemovedSetting, nodeName
@Inject public MappingUpdatedAction(Settings settings, ClusterSettings clusterSettings)
public void setClient(Client client)
public void updateMappingOnMaster(Index index, java.lang.String type, Mapping mappingUpdate)
updateMappingOnMaster(Index, String, Mapping, TimeValue)
using the default timeout.public void updateMappingOnMaster(Index index, java.lang.String type, Mapping mappingUpdate, TimeValue timeout)
timeout
. When this method returns successfully mappings have
been applied to the master node and propagated to data nodes.