public class UpdateSettingsClusterStateUpdateRequest extends IndicesClusterStateUpdateRequest<UpdateSettingsClusterStateUpdateRequest>
Constructor and Description |
---|
UpdateSettingsClusterStateUpdateRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
isPreserveExisting()
Returns
true iff the settings update should only add but not update settings. |
UpdateSettingsClusterStateUpdateRequest |
setPreserveExisting(boolean preserveExisting)
Iff set to
true this settings update will only add settings not already set on an index. |
Settings |
settings()
Returns the
Settings to update |
UpdateSettingsClusterStateUpdateRequest |
settings(Settings settings)
Sets the
Settings to update |
indices, indices
ackTimeout, ackTimeout, masterNodeTimeout, masterNodeTimeout
public UpdateSettingsClusterStateUpdateRequest()
public boolean isPreserveExisting()
true
iff the settings update should only add but not update settings. If the setting already exists
it should not be overwritten by this update. The default is false
public UpdateSettingsClusterStateUpdateRequest setPreserveExisting(boolean preserveExisting)
true
this settings update will only add settings not already set on an index. Existing settings remain
unchanged.public UpdateSettingsClusterStateUpdateRequest settings(Settings settings)
Settings
to update