recognize closeShifted setting in DefaultIndexDefinition
This commit is contained in:
parent
b269eb7cce
commit
819f31dffc
2 changed files with 8 additions and 2 deletions
|
@ -80,7 +80,11 @@ public class DefaultIndexDefinition implements IndexDefinition {
|
|||
setEnabled(true);
|
||||
}
|
||||
|
||||
public DefaultIndexDefinition(AdminClient adminClient, String index, String type, Settings settings, ClassLoader classLoader)
|
||||
public DefaultIndexDefinition(AdminClient adminClient,
|
||||
String index,
|
||||
String type,
|
||||
Settings settings,
|
||||
ClassLoader classLoader)
|
||||
throws IOException {
|
||||
String indexName = settings.get("name", index);
|
||||
String indexType = settings.get("type", type);
|
||||
|
@ -122,6 +126,8 @@ public class DefaultIndexDefinition implements IndexDefinition {
|
|||
setMinToKeep(settings.getAsInt("retention.mintokeep", 2));
|
||||
setDelta(settings.getAsInt("retention.delta", 2));
|
||||
}
|
||||
boolean closeShifted = settings.getAsBoolean("closeShifted", false);
|
||||
setCloseShifted(closeShifted);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
group = org.xbib
|
||||
name = elx
|
||||
version = 7.10.2.26
|
||||
version = 7.10.2.27
|
||||
|
||||
org.gradle.warning.mode = ALL
|
||||
|
|
Loading…
Reference in a new issue