private static Map<String, List<String>> toClusters(QrSearchersConfig config) {
        if (config == null) return Map.of();

        Map<String, List<String>> clusters = new HashMap<>();
        for (var searchCluster : config.searchcluster()) {
            clusters.put(searchCluster.name(), searchCluster.searchdef());
        }
        return clusters;
    }
Create an index model for a single search definition
container-search/src/main/java/com/yahoo/prelude/IndexModel.java