Merge Policy type setting fails, closes #1190.

This commit is contained in:
Shay Banon 2011-08-01 23:10:52 +03:00
parent e329178e8e
commit e059a7b37f
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ public class MergePolicyModule extends AbstractModule {
@Override protected void configure() {
bind(MergePolicyProvider.class)
.to(settings.getAsClass("index.merge.policy.type", TieredMergePolicyProvider.class, "org.elasticsearch.index.merge.policy", "MergePolicyProvider"))
.to(settings.getAsClass("index.merge.policy.type", TieredMergePolicyProvider.class, "org.elasticsearch.index.merge.policy.", "MergePolicyProvider"))
.asEagerSingleton();
}
}

View File

@ -41,7 +41,7 @@ public class MergeSchedulerModule extends AbstractModule {
@Override protected void configure() {
bind(MergeSchedulerProvider.class)
.to(settings.getAsClass(TYPE, ConcurrentMergeSchedulerProvider.class, "org.elasticsearch.index.scheduler", "MergeSchedulerProvider"))
.to(settings.getAsClass(TYPE, ConcurrentMergeSchedulerProvider.class, "org.elasticsearch.index.scheduler.", "MergeSchedulerProvider"))
.asEagerSingleton();
}
}