Hardening Solr initialization