public String getXml() {
        String xml = joinLines("<content version='1.0' id='" + name + "'>",
               "  <redundancy>" + redundancy + "</redundancy>",
               DocType.listToXml(docTypes),
               "  <engine>",
               "    <proton>",
               "      <searchable-copies>" + searchableCopies + "</searchable-copies>",
               getProtonResourceLimitsXml("      "),
               getTransactionLogSyncXml("      "),
               "    </proton>",
               "  </engine>");
        if (dispatchXml.isPresent()) {
            xml += dispatchXml.get();
        }
        xml += groupXml;
        xml += joinLines("  <tuning>",
               getTuningResourceLimitsXml("    "),
               "  </tuning>");
        return xml + "</content>";
    }
Class for building a content cluster with indexed search (used for testing only).

@author geirst
config-model/src/test/java/com/yahoo/vespa/model/content/utils/ContentClusterBuilder.java