
IndexLoad URL
The IndexLoad URL is used to call Index Load, so that you can populate WebSphere Commerce search index data, for example, contract prices.
URL structure
- http://hostname:port/search/indexload/command?query_parameters
- The fully qualified name of your WebSphere Commerce Server, the indexload path, command and query parameters.

Parameter values
The following parameters
can be specified:
- command
- The following commands can be specified:
- config
- Displays indexing configurations defined in the Index Load XML file.
- clear
- Deletes all contents from all index cores defined in the Index Load XML file.
- merge
- Merges all unloaded index data directories defined in the Index
Load XML file.Note: Ensure that all source index Solr cores are offline before merging. To do so, perform one of the following steps:
- Use the unload action for each core
that is not offline. For example:
or,http://hostname:3737/solr/admin/cores?action=UNLOAD&core=source_index_core_name
- Copy the source index data directory to a template directory. Then, in the wc-indexload-merge.xml file, use the template directory's index data as the input.
For more information about the Index Load configuration files for merging, see Index Load configuration files for merging indexes.
- Use the unload action for each core
that is not offline. For example:
- optimize
- Optimizes contents from all index cores defined in the Index Load XML file.
- start
- Performs indexing using configurations defined in the Index Load XML file.
- stop
- Stops all Index Load operations on the search server.
- status
- Reviews the current status of Index Load on the search server.
- profile
- The name of the Index Load profile.
- detail
- Returns more detailed index-related information.
Alternatively,
you can view a list of all the available Index Load parameters
by going to the following URL in your environment:
- http://hostname:port/search/indexload/usage
Example
Sample URL | Description |
---|---|
http://hostname:port/search/indexload/start?profile=price&detail=true | Performs indexing using the price profile, and returns more detailed information. |
http://hostname:port/search/indexload/status?profile=price | Checks the current status for the price profile. |
http://hostname:port/search/indexload/merge?profile=merge&detail=true | Merges all unloaded index data directories, and returns more detailed information. |