Installing Elasticsearch

Prerequisites:

Installation

Go to Elasticsearch folder in the SDK and open the config.ps1 file in a file editor. Change the values if needed, in particular the $jrePath and $elasticPath. This step only needs to be done if you do not have the JAVA_HOME set as a system variable or you want to change the default install location for Elasticsearch (defaults to C:\Program Files\elasticsearch).

Note: The InsiteCommerce SDK currently ships with Elasticsearch version 1.5.2, which is consistent with Amazon Web Services.
  • Open powershell and run the following command:
    Set-ExecutionPolicy RemoteSigned
  • Go to the Elasticsearch directory located in the SDK folder in powershell and run the following command:
    .\install.ps1