change setting name from index.warm.enabled to index.warmer.enabled

This commit is contained in:
Shay Banon 2012-05-06 18:52:51 +03:00
parent e0f3b7e885
commit ba79c778ba
1 changed files with 1 additions and 1 deletions

View File

@ -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());