Class UpdateSettingsRequestBuilder
java.lang.Object
org.elasticsearch.action.ActionRequestBuilder<Request,Response>
org.elasticsearch.action.support.master.MasterNodeOperationRequestBuilder<Request,Response,RequestBuilder>
org.elasticsearch.action.support.master.AcknowledgedRequestBuilder<UpdateSettingsRequest,AcknowledgedResponse,UpdateSettingsRequestBuilder>
org.elasticsearch.action.admin.indices.settings.put.UpdateSettingsRequestBuilder
public class UpdateSettingsRequestBuilder
extends AcknowledgedRequestBuilder<UpdateSettingsRequest,AcknowledgedResponse,UpdateSettingsRequestBuilder>
Builder for an update index settings request
-
Field Summary
Fields inherited from class org.elasticsearch.action.ActionRequestBuilder
action, client, request
-
Constructor Summary
ConstructorDescriptionUpdateSettingsRequestBuilder(ElasticsearchClient client, UpdateSettingsAction action, String... indices)
-
Method Summary
Modifier and TypeMethodDescriptionsetIndices(String... indices)
Sets the indices the update settings will execute onsetIndicesOptions(IndicesOptions options)
Specifies what type of requested indices to ignore and wildcard indices expressions.setPreserveExisting(boolean preserveExisting)
setSettings(String source, org.elasticsearch.common.xcontent.XContentType xContentType)
Sets the settings to be updated (either json or yaml format)setSettings(Map<String,Object> source)
Sets the settings to be updatedsetSettings(Settings settings)
Sets the settings to be updatedsetSettings(Settings.Builder settings)
Sets the settings to be updatedMethods inherited from class org.elasticsearch.action.support.master.AcknowledgedRequestBuilder
setTimeout, setTimeout
Methods inherited from class org.elasticsearch.action.support.master.MasterNodeOperationRequestBuilder
setMasterNodeTimeout, setMasterNodeTimeout
-
Constructor Details
-
UpdateSettingsRequestBuilder
public UpdateSettingsRequestBuilder(ElasticsearchClient client, UpdateSettingsAction action, String... indices)
-
-
Method Details
-
setIndices
Sets the indices the update settings will execute on -
setIndicesOptions
Specifies what type of requested indices to ignore and wildcard indices expressions.For example indices that don't exist.
-
setSettings
Sets the settings to be updated -
setSettings
Sets the settings to be updated -
setSettings
public UpdateSettingsRequestBuilder setSettings(String source, org.elasticsearch.common.xcontent.XContentType xContentType)Sets the settings to be updated (either json or yaml format) -
setSettings
Sets the settings to be updated -
setPreserveExisting
-