change setting name from index.warm.enabled to index.warmer.enabled
This commit is contained in:
parent
e0f3b7e885
commit
ba79c778ba
|
@ -71,7 +71,7 @@ public class InternalIndicesWarmer extends AbstractComponent implements IndicesW
|
||||||
if (indexMetaData == null) {
|
if (indexMetaData == null) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!indexMetaData.settings().getAsBoolean("index.warm.enabled", settings.getAsBoolean("index.warm.enabled", true))) {
|
if (!indexMetaData.settings().getAsBoolean("index.warmer.enabled", settings.getAsBoolean("index.warmer.enabled", true))) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
IndexService indexService = indicesService.indexService(shardId.index().name());
|
IndexService indexService = indicesService.indexService(shardId.index().name());
|
||||||
|
|
Loading…
Reference in New Issue