Feature Pack 7 or later

Enabling the WebSphere Commerce search data cache

The search server data cache uses DistributedMap object caches, which are defined automatically during feature pack installation.

To view these object caches, open the WebSphere Application Server Integrated Solutions Console, and on the left menu, click Resources > Cache instances > Object cache instances.

The object caches used by the search server data cache have JNDI names that start with services/cache/Search and end with DistributedMapCache. For example, services/cache/SearchSystemDistributedMapCache and services/cache/SearchFacetDistributedMapCache are two of the object caches used by the search server data cache.

Procedure

  1. Open the WebSphere Application Server Integrated Solutions Console.
  2. On the left menu, click Resources > Cache instances > Object cache instances.
  3. Click each search server object cache name, and click Custom properties.
  4. Add the following custom properties to each search server object cache:
    Custom properties for each search server object cache.
    Property Name Value
    com.ibm.ws.cache.CacheConfig.filterLRUInvalidation true
    com.ibm.ws.cache.CacheConfig.filterTimeOutInvalidation true
    com.ibm.ws.cache.CacheConfig.filterInactivityInvalidation true
    com.ibm.ws.cache.CacheConfig.ignoreValueInInvalidationEvent true
    com.ibm.ws.cache.CacheConfig.useServerClassLoader true
  5. Save your changes.