Running the migrate Solr search utility
Run the migrate Solr search utility to migrate your search index to the new
version.
Procedure
- Ensure that the test server is stopped and that Rational Application Developer is not running.
-
Run the search index migration utility for each master catalog ID:
- Go to the following directory:
- WCDE_installdir\components\foundation\subcomponents\search\bin
- Run the migrate Solr search utility:
- migrateSolrSearch.bat -masterCatalogId masterCatalogId
Where:- masterCatalogId
- The ID of the master catalog (for example, 10101).
- Go to the following directory:
-
Clean the test server.
- Start Rational Application Developer.
- Right-click the test server. Then, select Clean....
-
Ensure that the utility runs successfully by reviewing the log file to see the results of the
migration. The log file's location is specified in the
migrate-solr-search-logging.properties file.
By default, you can find the log at the following location:
- WCDE_installdir\components\foundation\subcomponents\search\log\migrate-solr-search.log
If the utility did not run successfully, you can modify the logging configuration file as needed, specifically the logging level:Logging configuration file parameters Parameter Value Logging level com.ibm.commerce.level
- INFO
- The typical logging level to use for the utility. This level also lists all SQL statements that you can use to roll back the migration.
- FINEST
- This level lists all details as the utility runs. Use this level if you encounter errors or exceptions during the migration and you need additional information for troubleshooting.
Log file location java.util.logging.FileHandler.pattern
../log/migrate-solr-search.log
If you deployed the WebSphere Commerce Search cluster, ensure that the EAR changes are propagated to all the nodes.