Setting up the WebSphere Commerce Search index structure for a specific master catalog in the managed configuration
You can deploy your search index structure on your WebSphere Commerce server in the managed configuration. Then, you can configure WebSphere Commerce to use the Solr index by preparing the input property file and running the search index setup utility. This utility ensures that your index is built successfully by using your WebSphere Commerce master catalog data.
Before you begin
- Ensure that the test server is stopped.
- Ensure that your administrative server is started. For example:
- If WebSphere Commerce is managed by WebSphere Application Server Deployment manager (dmgr), start the deployment manager and all node agents. Your cluster can also be started.
- If WebSphere Commerce is not managed by WebSphere Application Server Deployment manager (dmgr), start the WebSphere Application Server server1.
- Ensure that the QEJBSVR user profile
has WRITE authority for the following directory:
- QIBM/UserData/CommerceServer80/instances/instance_name/temp
CHGAUT OBJ('/QIBM/UserData/CommerceServer80/instances/demo/temp') USER(QEJBSVR) DTAAUT(*RWX) SUBTREE(*ALL) SYMLNK(*NO)
- Ensure that you complete the following task: Setting up the search index.
Note:
When APAR JR55671 is applied, you can create managed workspace cores when specifying the related workspace parameter, such as dbauser/dbauserpwd and the optional -createAll parameter. With this ifix, the index files are created under a Data directory, hence it changes the index location. An index rebuild is required to activate the changes.
About this task
- The input properties file (loading.properties) is prepared to contain the managed configuration settings.
- The setup search index utility is run, specifying the configSolrCoresAdv action and -propFile parameter to work with the managed configuration.
- Custom properties and customizations are reapplied to the generated managed-solr templates where applicable.
Procedure
-
Prepare the input properties file.
-
Run the setup search index utility.
- If you have customized the search indexing configuration files, ensure that you apply the same customizations to the generated managed-solr templates where applicable.