Firstly, you should ensure that the Elasticsearch host information is defined in the store's .env. If you're running the service directly on your machine (either natively or through Docker), you'll most likely use the following details:
When using a remote connection, ensure the host does not contain the port and URI scheme.
It is also important to ensure the STORE_IDENTIFIER is defined. This value is automatically added to the project's .env when using the Aero CLI tool to install and configure a store.
To create the Elasticsearch index and apply the mappings, run the following command within the root directory of your project:
php artisan aero:search:install