Common steps for WebSphere Commerce Search related fixes: Recreating the search directory structure
You might need to complete these common steps to enable certain search-related fixes that
are included in WebSphere Commerce maintenance packages. This task recreates the WebSphere Commerce Search directory structure.
Before you begin
- Install the necessary maintenance package.
- Backup your existing solrhome directory:
- WC_installdir/instances/instance_name/search
- /search
- WCDE_installdir\search
- Ensure that the WebSphere Commerce Search server is stopped.
- Ensure that the WebSphere Commerce test server is stopped.
Procedure
- Delete the following directories:The current search index directory:
- solrhome/MC_MasterCatalogId
The preprocess configuration directories:- WC_installdir/instances/instance_name/search/pre-processConfig
- /search/pre-processConfig
- WCDE_installdir\search\pre-processConfig
- Start the WebSphere Commerce Search server and WebSphere Commerce instance.
- Ensure that the WebSphere Commerce test server is stopped if you are using a Derby database.
- Recreate the search directory structure by completing the following task: Setting up the WebSphere Commerce search index structure.
- Merge your customizations back into the newly-created templates and search configuration, if necessary.
- Preprocess the WebSphere Commerce Search index.
- Build the WebSphere Commerce Search index.