AckedRequestpublic class UpdateSettingsClusterStateUpdateRequest extends IndicesClusterStateUpdateRequest<UpdateSettingsClusterStateUpdateRequest>
| Constructor | Description |
|---|---|
UpdateSettingsClusterStateUpdateRequest() |
| Modifier and Type | Method | 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 |
ackTimeout, ackTimeout, masterNodeTimeout, masterNodeTimeoutindices, indicespublic 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 falsepublic 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