Introduced in Feature Pack 2

Deployment topologies and scenarios

WebSphere Commerce search indexes are created separately based on a specific master catalog. After deploying the WebSphere Commerce search index, you can separately manage and rebuild each index to refresh its data.

Performing a full re-indexing rebuilds the entire search index, while a delta re-indexing performs only incremental updates on the existing operational search index. Before deploying your index, you must consider the index-building scenarios, depending on your WebSphere Commerce search environment.

The following topologies are typical when building a search index:
  • A production server with a dedicated index-building machine.
  • A staging and clustered search server.
Note: The same operating system should be used across all search servers: that is, the master search server, subordinate servers, and search server cluster.

Examples: Deployment topologies and scenarios

The following sample topologies are available for small to large index sizes:
Important: In all scenarios, it is recommended to only perform indexing in an authoring or staging environment. That is, an environment that is used for quality assurance (QA) purposes, and if required, containing access to the production database. Otherwise, the runtime search performance or index integrity can be affected by indexing within a production environment.

Small or medium index size: WebSphere Commerce production server with a dedicated index-building machine

A dedicated index-building machine, which is known as the master, is used to build the index. The index is then replicated to other search machines, which are known as targets. The runtime search performance is not affected during index-building.

Note: Building the search index can still be a timely process, and might occasionally lead to inconsistencies between the database and search index. However, the runtime search performance is not affected during index-building due to the offset of the processing load to another machine.
The following diagram illustrates a typical WebSphere Commerce search deployment for a small or medium index size:
Small or medium index size deployment
WebSphere Commerce EnterpriseWebSphere Commerce Professional

Recommended: Large index size: Staging propagation and clustered search servers

The index-building is performed on the WebSphere Commerce staging database and search staging machine. Business users can test their new data in the staging database with the updated index. After successfully completing their tests, the data is propagated from the staging database to the production database, and the index is replicated from the search staging machine to the search production machines using the master indexing server. This is the recommended approach, as this option imposes the least amount of risk to the production environment and provides a more flexible environment for making incremental changes.

The following diagram illustrates a typical WebSphere Commerce search deployment for a large index size: Feature Pack 4Feature Pack 2Feature Pack 3
Large index size deployment
Feature Pack 5 or later
Large index size deployment
Feature Pack 6 or later

Timeline of events

The following diagram illustrates the timing of events you must consider when indexing with staging propagation:
Timeline of events when indexing with staging propagation
  1. A start time is passed as a parameter to the indexprop utility at the time the command is issued by an IT Administrator.
  2. This start time defines the period of time where cache invalidation should start. Typically, this is the start of the staging propagation operation.
  3. The indexprop utility monitors the progress of the index replication on all the search subordinate servers in production.
  4. Once all of the index replications have completed successfully, the indexprop utility issues a cache invalidation instruction by inserting an entry of type restart into the CACHEIVL table, using the provided start time parameter as the time to start performing cache invalidation.
For more information, see Indexing with staging propagation.