diff --git a/src/main/java/org/elasticsearch/rest/action/admin/indices/settings/RestUpdateSettingsAction.java b/src/main/java/org/elasticsearch/rest/action/admin/indices/settings/RestUpdateSettingsAction.java index 84c00673dac..e3fcfd102dc 100644 --- a/src/main/java/org/elasticsearch/rest/action/admin/indices/settings/RestUpdateSettingsAction.java +++ b/src/main/java/org/elasticsearch/rest/action/admin/indices/settings/RestUpdateSettingsAction.java @@ -80,7 +80,7 @@ public class RestUpdateSettingsAction extends BaseRestHandler { } } for (Map.Entry entry : request.params().entrySet()) { - if (entry.getKey().equals("pretty")) { + if (entry.getKey().equals("pretty") || entry.getKey().equals("timeout") || entry.getKey().equals("master_timeout")) { continue; } updateSettings.put(entry.getKey(), entry.getValue());