Class SolrConfigUpgrader
java.lang.Object
edu.ucsb.nceas.metacat.admin.upgrade.solr.SolrConfigUpgrader
This class represents an object to upgrade the solrconfig.xml on the Metacat upgrade process.
- Author:
- tao
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
SolrConfigUpgrader
public SolrConfigUpgrader() throws edu.ucsb.nceas.utilities.PropertyNotFoundException, ServiceExceptionConstructor- Throws:
edu.ucsb.nceas.utilities.PropertyNotFoundException
ServiceException
-
-
Method Details
-
upgrade
public void upgrade() throws AdminException, IOException, NoSuchAlgorithmException, SolrSchemaModificationExceptionUpgrade the solrconfig.xml on the solr home. If the existing solrconfigure.xml's hash codes doesn't match released ones, we will copy it as solrconfigure.xml and give user an warning.
-