fix field data cache setting: used under index.cache.field.type, available values: resident, soft, weak

This commit is contained in:
kimchy 2011-01-11 06:33:24 +02:00
parent a5432ba7ce
commit 38ea07cfbe
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ public class FieldDataCacheModule extends AbstractModule {
@Override protected void configure() {
bind(FieldDataCache.class)
.to(settings.getAsClass(FieldDataCacheSettings.FIELD_DATA_CACHE_TYPE, SoftFieldDataCache.class, "org.elasticsearch.index.cache.field.", "FieldDataCache"))
.to(settings.getAsClass(FieldDataCacheSettings.FIELD_DATA_CACHE_TYPE, SoftFieldDataCache.class, "org.elasticsearch.index.cache.field.data.", "FieldDataCache"))
.in(Scopes.SINGLETON);
}
}