fix replica settings

This commit is contained in:
Jörg Prante 2021-04-23 11:35:52 +02:00
parent 686e63f106
commit 2c33bb08e1

View file

@ -90,7 +90,6 @@ public class DefaultIndexDefinition implements IndexDefinition {
if (settings.get("settings") != null && settings.get("mapping") != null) {
setSettings(findSettingsFrom(settings.get("settings")));
setMappings(findMappingsFrom(settings.get("mapping")));
setReplicaCount(settings.getAsInt("replica", 0));
boolean shift = settings.getAsBoolean("shift", false);
setShift(shift);
if (shift) {