fix replica settings
This commit is contained in:
parent
686e63f106
commit
2c33bb08e1
1 changed files with 0 additions and 1 deletions
|
@ -90,7 +90,6 @@ public class DefaultIndexDefinition implements IndexDefinition {
|
||||||
if (settings.get("settings") != null && settings.get("mapping") != null) {
|
if (settings.get("settings") != null && settings.get("mapping") != null) {
|
||||||
setSettings(findSettingsFrom(settings.get("settings")));
|
setSettings(findSettingsFrom(settings.get("settings")));
|
||||||
setMappings(findMappingsFrom(settings.get("mapping")));
|
setMappings(findMappingsFrom(settings.get("mapping")));
|
||||||
setReplicaCount(settings.getAsInt("replica", 0));
|
|
||||||
boolean shift = settings.getAsBoolean("shift", false);
|
boolean shift = settings.getAsBoolean("shift", false);
|
||||||
setShift(shift);
|
setShift(shift);
|
||||||
if (shift) {
|
if (shift) {
|
||||||
|
|
Loading…
Reference in a new issue