Common steps for HCL Commerce Search related fixes: Re-creating the search index preprocessing templates
You might need to complete these common steps to enable certain search-related fixes that
are included in HCL Commerce maintenance packages. This task re-creates the search
index preprocessing templates. Your customized search index configuration is not impacted by this
task.
Before you begin
- Install the necessary maintenance package.
- Backup your existing search directory if you customized the current search index preprocessing templates:
- WC_installdir/instances/instance_name/search
- WC_installdir\instances\instance_name\search
- WCDE_installdir\search
- If you have set the
DropTempTable
option to false in your catalog wc-component.xml configuration file, you must set it to true temporarily. You must run at least one build of your search index to account for any changes made to the temporary table schema before setting it back to false. For more information on theDropTempTable
option, see Search properties in the component configuration file (wc-component.xml).
Procedure
- Delete the following directories:
- WC_installdir/instances/instance_name/search/pre-processConfig
- WC_installdir\instances/instance_name\search\pre-processConfig
- WCDE_installdir\search\pre-processConfig
- Re-create the search directory structure by completing the following task: Setting up the search index.
- Merge your customizations back into the newly-created templates, if necessary. For example, changes made to the wc-data-config.xml file.
- Build the HCL Commerce Search index.