@Override public Number getNbShards() { return nbShards.getNumberValue(); }
@Override public void setNbShards(int nb) { nbShards.setValue(String.valueOf(nb)); }
@Override public void setNbReplicas(int nb) { nbReplicas.setValue(String.valueOf(nb)); }
@Override public Number getNbReplicas() { return nbReplicas.getNumberValue(); }