check also on the node settings
This commit is contained in:
parent
76b32a646c
commit
e1732d0a59
|
@ -71,7 +71,7 @@ public class InternalIndicesWarmer extends AbstractComponent implements IndicesW
|
|||
if (indexMetaData == null) {
|
||||
return;
|
||||
}
|
||||
if (!indexMetaData.settings().getAsBoolean("index.warm.enabled", true)) {
|
||||
if (!indexMetaData.settings().getAsBoolean("index.warm.enabled", settings.getAsBoolean("index.warm.enabled", true))) {
|
||||
return;
|
||||
}
|
||||
IndexService indexService = indicesService.indexService(shardId.index().name());
|
||||
|
|
Loading…
Reference in New Issue