static List<Cluster> toClusters(QrSearchersConfig config) {
        List<Cluster> clusters = new ArrayList<>();
        for (var searchCluster : config.searchcluster()) {
            String clusterName = searchCluster.name();
            var clusterInfo = new Cluster.Builder(clusterName);
            clusterInfo.setStreaming(searchCluster.indexingmode() == QrSearchersConfig.Searchcluster.Indexingmode.Enum.STREAMING);
            for (var schemaDef : searchCluster.searchdef())
                clusterInfo.addSchema(schemaDef);
            clusters.add(clusterInfo.build());
        }
        return clusters;
    }
Translation between schema info configuration and schema objects.

@author bratseth
container-search/src/main/java/com/yahoo/search/schema/SchemaInfoConfigurer.java