Class MappingUpdatedAction

  • public class MappingUpdatedAction
    extends java.lang.Object
    Called by shards in the cluster when their mapping was dynamically updated and it needs to be updated in the cluster state meta data (and broadcast to all members).
    • Field Detail


        public static final Setting<TimeValue> INDICES_MAPPING_DYNAMIC_TIMEOUT_SETTING
    • Method Detail

      • setClient

        public void setClient​(Client client)
      • updateMappingOnMaster

        public void updateMappingOnMaster​(Index index,
                                          java.lang.String type,
                                          Mapping mappingUpdate,
                                          TimeValue masterNodeTimeout)
        Update mappings on the master node, waiting for the change to be committed, but not for the mapping update to be applied on all nodes. The timeout specified by timeout is the master node timeout (MasterNodeRequest.masterNodeTimeout()), potentially waiting for a master node to be available.