Manually deploy a JAR file

Note

Perforce recommends that you use the Helix Search installer for Linux or Windows to install Helix Search, see Deployment.

This section describes the build and configuration process for the Helix Core Search API and Elasticsearch.

To manually deploy the .jar:

Check the requirements section before you manually deploy the .jar, see Prerequisites .

  1. Run the following command:
  2. java -jar build/libs/p4search-<version>.jar

    Where <version> is the version of the .jar file.

  3. Connect to http://localhost:1601

Set the configuration file location with the JVM property

If launching the JAR manually or within an application server, add the property:

-Dcom.perforce.search=<location>

Where <location> is the location of the configuration file. For example: /etc/p4search/config.properties

Related topics