- Index-building topologies and scenarios
HCL Commerce Search indexes are created separately based on a specific master catalog. Deploy the HCL Commerce Search index, then separately manage and rebuild each index to refresh its data.
- Building the search index
The HCL Commerce Search index is built by using the Build Index call to the REST API.
- Indexing contract prices in HCL Commerce Search
You can index prices in HCL Commerce Search. For example, you can build the HCL Commerce Search price index by issuing the Calculate Price RESTful call, and then indexing contract prices.
- Setting up and building the inventory index
The inventory index, a separate index that contains index data, is an extension of the product index. For accurate inventory status, you can refresh the inventory index more frequently than the product index.
- Invalidating a Search cache
You can invalidate the contents of a specific cache by issuing a call to the Search REST API
- Parallel preprocessing and distributed indexing
You can index large catalog data into the search server with parallel preprocessing and distributed indexing by sharding and merging.
- Indexing site content with HCL Commerce Search
HCL Commerce contains unmanaged content such as site content, that must be crawled using the site content crawler. Unmanaged content intended for production must be published separately, as it is not part of staging propagation. Once the static content is copied to the correct location, a manual site content re-indexing from the production system is required against the repeater.
- Index synchronization and delta updates in HCL Commerce Search
The HCL Commerce Search index can typically fall out of synchronization with the latest production data over time. To maintain accuracy of the search result data, reindexing must be done at a certain time during normal business operation. There are three forms of search reindexing, and depending on your business requirements, costs and benefits are associated with each of the following options: Full reindexing, delta reindexing, and emergency updates.
- Caching and invalidation in HCL Commerce Search
The JSP fragment cache and the data object cache can be used with the search server for caching and invalidation. The JSP fragment cache is used on the HCL Commerce server to cache portions of the storefront user interface for future reuse. The data object cache is used on the search server to store internal runtime properties that are used by certain search features to improve overall performance.
- Search index optimization
When you administer HCL Commerce Search Search, consider the following optimization hints and tips.