Settings.Builder getSettings() {
    return settings;
  }
@Test
  @UseDataProvider("indexWithAndWithoutRelations")
  public void in_standalone_searchReplicas_is_not_overridable(Index index) {
    settings.setProperty(SEARCH_REPLICAS.getKey(), "5");
    NewIndex newIndex = new SimplestNewIndex(IndexType.main(index, "foo"), defaultSettingsConfiguration);

    assertThat(newIndex.getSettings().get("index.number_of_replicas")).isEqualTo("0");
  }