public ContentClusterBuilder docTypes(String ... docTypes) {
        this.docTypes = Arrays.stream(docTypes).
                map(DocType::index).
                toList();
        return this;
    }
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