Importing and deploying previous search assets to the new version
Your previous search customizations are required to complete some migration tasks in
WebSphere Commerce Version 8. Therefore, you must move your search customizations from WebSphere
Commerce Version 7 into source control in WebSphere Commerce Version 8.
Procedure
Check in your previous customizations into source control and extract them into your
WebSphere Commerce Version 8 development environment, including them in the WCBD package during builds.
For more information about this process, see Deploying Java EE assets for a partial application.
-
Back up the search directory from WebSphere Commerce Version 7 and import to WebSphere Commerce Version 8, so that you can successfully run the search index migration utility:
- WCDE_installdir\search
-
Back up the search configuration files from WebSphere Commerce Version 7 and import to
WebSphere Commerce Version 8, so that you can successfully rebuild the search index:
- WCDE_installdir\workspace\WC\xml\config\com.ibm.commerce.catalog-ext\wc-search.xml
- WCDE_installdir\workspace\Search\xml\config\com.ibm.commerce.catalog-ext\wc-search.xml
Note: You can skip this step if your WebSphere Commerce Version 7 version does not contain this file. -
If you are migrating from WebSphere Commerce Version 7 Feature Pack 2 - 8, work with the
search configuration files to ensure that the search configuration can successfully be
migrated:
-
If you have customized files within the Search or
Search-Rest projects in WebSphere Commerce Version 7, you must deploy those
customizations to the same locations in WebSphere Commerce Version 8.
For example, but not limited to, the following files:
- WCDE_installdir\workspace\Search\xml\config\com.ibm.commerce.catalog-ext\wc-component.xml
- WCDE_installdir\workspace\Search\xml\config\com.ibm.commerce.catalog-ext\wc-search.xml
- WCDE_installdir\workspace\Search-Rest\WebContent\WEB-INF\config\com.ibm.commerce.rest-ext\wc-rest-resourceconfig.xml