class UpgradeCatalog270 extends AbstractUpgradeCatalog {

  protected String updateMergeFactor(String content, String variableName) {
    return content.replaceAll("<mergeFactor>\\{\\{" + variableName + "\\}\\}</mergeFactor>",
            "<mergePolicyFactory class=\"org.apache.solr.index.TieredMergePolicyFactory\">\n" +
                    "      <int name=\"maxMergeAtOnce\">{{" + variableName + "}}</int>\n" +
                    "      <int name=\"segmentsPerTier\">{{" + variableName + "}}</int>\n" +
                    "    </mergePolicyFactory>");
  }

  @Inject public  UpgradeCatalog270(Injector injector);

}