
Enabling the InvalidateSearchCache
scheduled job (KB0077569)
Before you begin
InvalidateSearchCache
scheduled job requires HCL Commerce 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 HCL Commerce Administration Console. The scheduling of this job
requires a configuration prerequisite before it can be scheduled.
Procedure
Ensure that the Search server host name and port configuration details
are included within the
CONFIG
column of the SRCHCONF
table for
the CatalogEntry
and CatalogGroup
search indexes.For HCL Commerce production environments, ensure that the host name and port are defined in both indexes.
-
SearchServerPort=3738,SearchServerName=SearchServerName
Where:- SearchServerPort is the Search server port.
- SearchServerName is the Search server host name.
For example:
For theCatalogEntry
index:CONFIG='IndexScopeTag=0,createAll=true,PreProcessConfigDirectory=/v3/db2/CatalogEntry,Version=3,SearchServerPort=3738,SearchServerName=SearchServerName'
For theCatalogGroup
index:CONFIG='IndexScopeTag=1,createAll=true,PreProcessConfigDirectory=/v3/db2/CatalogGroup,Version=3,SearchServerPort=3738,SearchServerName=SearchServerName'
For HCL Commerce Developer, only the port number is required to be
included. The host for the Search server will default to
localhost
.
-
SearchServerPort=3738
For example:
For theCatalogEntry
index:CONFIG='IndexScopeTag=0,createAll=true,PreProcessConfigDirectory=/v3/db2/CatalogEntry,Version=3,SearchServerPort=3738'
For theCatalogGroup
index:CONFIG='IndexScopeTag=1,createAll=true,PreProcessConfigDirectory=/v3/db2/CatalogGroup,Version=3,SearchServerPort=3738'
Results
InvalidateSearchCache
job can now be
scheduled.