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

  1. Install the necessary maintenance package.
  2. Backup your existing solrhome directory:
    • WC_installdir/instances/instance_name/search
    • For IBM i OS operating system/search
    • WebSphere Commerce DeveloperWCDE_installdir\search
    You will then recreate the search directory structure and merge your customizations back into search later in this task.
  3. Ensure that the WebSphere Commerce Search server is stopped.
  4. WebSphere Commerce DeveloperEnsure that the WebSphere Commerce test server is stopped.

Procedure

  1. Delete the following directories:
    The current search index directory:
    • solrhome/MC_MasterCatalogId
    The preprocess configuration directories:
    • WC_installdir/instances/instance_name/search/pre-processConfig
    • For IBM i OS operating system/search/pre-processConfig
    • WebSphere Commerce DeveloperWCDE_installdir\search\pre-processConfig
  2. Start the WebSphere Commerce Search server and WebSphere Commerce instance.
  3. WebSphere Commerce DeveloperEnsure that the WebSphere Commerce test server is stopped if you are using a Derby database.
  4. Recreate the search directory structure by completing the following task: Setting up the WebSphere Commerce search index structure.
  5. Merge your customizations back into the newly-created templates and search configuration, if necessary.
  6. Preprocess the WebSphere Commerce Search index.
  7. Build the WebSphere Commerce Search index.