Manually deploy a JAR file
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 .
- Run the following command:
- Connect to http://localhost:1601
java -jar build/libs/p4search-<version>.jar
Where <version> is the version of the .jar file.
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
- For details of the Helix Search, Helix Core Server, and Elasticsearch configuration, see Helix Search configuration.
- API endpoints
- Data model