HCL Commerce Version 9.1.2.0 or later

Collecting Elasticsearch based search-related MustGather data for search Ingest service issues

Prepare the following MustGather information before you call HCL Support to help with the troubleshooting process.

Procedure

  1. Execute the following REST API to start the indexing job and save the jobStatusId value from response for later use:
    https://{{transaction_hostname}}:{{transaction_port}}/wcs/resources/admin/index/dataImport/build?connectorId={{connectorId}}&storeId={{storeId}}
  2. Execute the following REST API to get the indexing job information using jobStatusId from 1), and save the runId value from response for later use:
    https://{{transaction_hostname}}:{{transaction_port}}/wcs/resources/admin/index/dataImport/status?jobStatusId={{jobStatusId}}

    Then every 30 seconds, call this REST API until the response reports that indexing has completed.

  3. Save the responses for the following REST APIs:
    GET https://{{transaction_hostname}}:{{transaction_port}}/wcs/resources/admin/index/dataImport/status?jobStatusId={{jobStatusId}}
    
    GET http://{{ingest_hostname}}:{{ingest_port}}/connectors/{{connectorId}}/runs/{{runId}}
    
    GET http://{{ingest_hostname}}:{{ingest_port}}/connectors/{{connectorId}}