diff --git a/elx-common/src/main/java/org/xbib/elx/common/DefaultIndexDefinition.java b/elx-common/src/main/java/org/xbib/elx/common/DefaultIndexDefinition.java index 8b7838d..a01b5a2 100644 --- a/elx-common/src/main/java/org/xbib/elx/common/DefaultIndexDefinition.java +++ b/elx-common/src/main/java/org/xbib/elx/common/DefaultIndexDefinition.java @@ -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); } } diff --git a/gradle.properties b/gradle.properties index 4c8c11a..57199d6 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ group = org.xbib name = elx -version = 7.10.2.26 +version = 7.10.2.27 org.gradle.warning.mode = ALL