Feature Pack 5 or later

Performing search index optimization

There are several search optimization hints and tips to consider when administering WebSphere Commerce search.

Best practices

  • Do not perform index optimization while indexing. It is a separate administrative task that runs only when system usage is low.
  • Configure the UpdateSearchIndex scheduler task in production to run more frequently for delta updates. Perform a clean full build only when the system usage is low.

Defragmenting the search index

You can defragment the search index by either:
  • The optimize parameter can be used for delta updates.

    You might want to set the parameter to false to save time when you are building the WebSphere Commerce search index. That is, by manually setting it in the data import URL.

    For example:

    For more information, see Data Import Request Handler.

  • The clean option can be used for full updates.
    For example:

Detecting replication status

You can check the replication status on each subordinate node:
  1. Run the following command:
  2. Check the value of the isReplicating flag to see its replication status.