protected void updateSolrConfigurations() throws AmbariException {
    AmbariManagementController ambariManagementController = injector.getInstance(AmbariManagementController.class);
    Clusters clusters = ambariManagementController.getClusters();
    if (clusters == null)
      return;

    Map<String, Cluster> clusterMap = clusters.getClusters();
    if (clusterMap == null || clusterMap.isEmpty()) {
      return;
    }

    for (final Cluster cluster : clusterMap.values()) {
      updateConfig(cluster, "logsearch-service_logs-solrconfig", (content) -> {
        content = updateLuceneMatchVersion(content, "7.3.1");
        return updateMergeFactor(content, "logsearch_service_logs_merge_factor");
      });
      updateConfig(cluster, "logsearch-audit_logs-solrconfig", (content) -> {
        content = updateLuceneMatchVersion(content,"7.3.1");
        return updateMergeFactor(content, "logsearch_audit_logs_merge_factor");
      });
      updateConfig(cluster, "ranger-solr-configuration", (content) -> {
        content = updateLuceneMatchVersion(content,"6.6.0");
        return updateMergeFactor(content, "ranger_audit_logs_merge_factor");
      });

      updateConfig(cluster, "atlas-solrconfig",
              (content) -> updateLuceneMatchVersion(content,"6.6.0"));

      updateConfig(cluster, "infra-solr-env", this::updateInfraSolrEnv);

      updateConfig(cluster, "infra-solr-security-json", (content) ->
              content.replace("org.apache.ambari.infra.security.InfraRuleBasedAuthorizationPlugin",
                      "org.apache.solr.security.InfraRuleBasedAuthorizationPlugin"));
    }
  }
@return a map describing the new LDAP configuration key to the old ambari.properties property name
ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog270.java