Enabling the InvalidateSearchCache scheduled job (KB0077569)

Before you begin

The ability to schedule the InvalidateSearchCache scheduled job requires 9.0.1.11 or later fix pack.

About this task

The InvalidateSearchCache scheduled job has been re-added to the available jobs for scheduling within the . The scheduling of this job requires a configuration prerequisite before it can be scheduled.

Procedure

Ensure that the host name and port configuration details are included within the CONFIG column of the SRCHCONF table for the CatalogEntry and CatalogGroup search indexes.

For production environments, ensure that the host name and port are defined in both indexes.

  • SearchServerPort=3738,SearchServerName=SearchServerName
    Where:
    • SearchServerPort is the port.
    • SearchServerName is the host name.

    For example:

    For the CatalogEntry index:
    CONFIG='IndexScopeTag=0,createAll=true,PreProcessConfigDirectory=/v3/db2/CatalogEntry,Version=3,SearchServerPort=3738,SearchServerName=SearchServerName'
    For the CatalogGroup index:
    CONFIG='IndexScopeTag=1,createAll=true,PreProcessConfigDirectory=/v3/db2/CatalogGroup,Version=3,SearchServerPort=3738,SearchServerName=SearchServerName'

HCL Commerce DeveloperFor , only the port number is required to be included. The host for the will default to localhost.

  • SearchServerPort=3738

    For example:

    For the CatalogEntry index:
    CONFIG='IndexScopeTag=0,createAll=true,PreProcessConfigDirectory=/v3/db2/CatalogEntry,Version=3,SearchServerPort=3738'
    For the CatalogGroup index:
    CONFIG='IndexScopeTag=1,createAll=true,PreProcessConfigDirectory=/v3/db2/CatalogGroup,Version=3,SearchServerPort=3738'

Results

The InvalidateSearchCache job can now be scheduled.