@Override
    public void validate(ChangeContext context) {
        for (Map.Entry<String, ContentCluster> currentEntry : context.previousModel().getContentClusters().entrySet()) {
            ContentCluster nextCluster = context.model().getContentClusters().get(currentEntry.getKey());
            if (nextCluster != null && nextCluster.getSearch().hasSearchCluster()) {
                validateContentCluster(currentEntry.getValue(), nextCluster, context.deployState()).forEach(context::require);
            }
        }
    }
Validates the changes between all current and next indexed search clusters in a vespa model.

@author geirst
config-model/src/main/java/com/yahoo/vespa/model/application/validation/change/IndexedSearchClusterChangeValidator.java