Configure Commerce for OpenSearch

Steps for configuring OpenSearch are covered in the Advanced Install topic.

To test that the new configuration is working, test the OpenSearch endpoint directly:

  1. Create a product in the Admin (For example: sku=“testproduct1”).

  2. Reindex through the Admin.

  3. Query the OpenSearch endpoint (found in AWS UI):

    To get indices, append: /_cat/indices/*?v=true to the URL:
    <AWS OS endpoint>/_cat/indices/*?v=true

To get products from index, append: /magento2docker_product_1/_search?q=* to the URL:
<AWS OS endpoint>/magento2docker_product_1/_search?q=testproduct1

Additional resources

For additional information, see the OpenSearch AWS documentation.